File tree Expand file tree Collapse file tree 3 files changed +799
-2
lines changed Expand file tree Collapse file tree 3 files changed +799
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ complicated queries.
8
8
9
9
## Installation
10
10
11
- The module works with PostgreSQL 9.6.
11
+ The module works with PostgreSQL 9.6 and above .
12
12
13
13
The module contains a patch and an extension. Patch has to be applied to the
14
14
sources of PostgresSQL. Patch affects header files, that is why PostgreSQL
@@ -20,13 +20,15 @@ installed with `make install`.
20
20
```
21
21
cd postgresql-9.6 # enter postgresql source directory
22
22
git clone https://github.com/tigvarts/aqo.git contrib/aqo # clone aqo into contrib
23
- patch -p1 < contrib/aqo/aqo .patch # patch postgresql
23
+ patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_pg9_6 .patch # patch postgresql
24
24
make clean && make && make install # recompile postgresql
25
25
cd contrib/aqo # enter aqo directory
26
26
make && make install # install aqo
27
27
make check # check whether it works correctly
28
28
```
29
29
30
+ For PostgreSQL 10 and above use aqo_pg10rc1.patch instead of aqo_pg9_6.patch
31
+
30
32
In your db:
31
33
` CREATE EXTENSION aqo; `
32
34
You can’t perform that action at this time.
0 commit comments