@@ -8,7 +8,7 @@ complicated queries.
88
99##Installation
1010
11- The module works with PostgreSQL 9.6.
11+ The module works with PostgreSQL 9.6 and above .
1212
1313The module contains a patch and an extension. Patch has to be applied to the
1414sources of PostgresSQL. Patch affects header files, that is why PostgreSQL
@@ -20,13 +20,15 @@ installed with `make install`.
2020```
2121cd postgresql-9.6 # enter postgresql source directory
2222git 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
2424make clean && make && make install # recompile postgresql
2525cd contrib/aqo # enter aqo directory
2626make && make install # install aqo
2727make check # check whether it works correctly
2828```
2929
30+ For PostgreSQL 10 and above use aqo_pg10rc1.patch instead of aqo_pg9_6.patch
31+
3032In your db:
3133` CREATE EXTENSION aqo; `
3234