forked from hans/Nominatim
raise PostgreSQL requirement to 9.6
The new code uses the open-ended array notation which is only available sind psql 9.6.
This commit is contained in:
2
.github/workflows/ci-tests.yml
vendored
2
.github/workflows/ci-tests.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
|||||||
ubuntu: [18, 20]
|
ubuntu: [18, 20]
|
||||||
include:
|
include:
|
||||||
- ubuntu: 18
|
- ubuntu: 18
|
||||||
postgresql: 9.5
|
postgresql: 9.6
|
||||||
postgis: 2.5
|
postgis: 2.5
|
||||||
pytest: pytest
|
pytest: pytest
|
||||||
php: 7.2
|
php: 7.2
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ When running the import you may get a version mismatch:
|
|||||||
|
|
||||||
pg_config seems to use bad includes sometimes when multiple versions
|
pg_config seems to use bad includes sometimes when multiple versions
|
||||||
of PostgreSQL are available in the system. Make sure you remove the
|
of PostgreSQL are available in the system. Make sure you remove the
|
||||||
server development libraries (`postgresql-server-dev-9.5` on Ubuntu)
|
server development libraries (`postgresql-server-dev-13` on Ubuntu)
|
||||||
and recompile (`cmake .. && make`).
|
and recompile (`cmake .. && make`).
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ For compiling:
|
|||||||
|
|
||||||
For running Nominatim:
|
For running Nominatim:
|
||||||
|
|
||||||
* [PostgreSQL](https://www.postgresql.org) (9.5+ will work, 11+ strongly recommended)
|
* [PostgreSQL](https://www.postgresql.org) (9.6+ will work, 11+ strongly recommended)
|
||||||
* [PostGIS](https://postgis.net) (2.2+ will work, 3.0+ strongly recommended)
|
* [PostGIS](https://postgis.net) (2.2+ will work, 3.0+ strongly recommended)
|
||||||
* [Python 3](https://www.python.org/) (3.6+)
|
* [Python 3](https://www.python.org/) (3.6+)
|
||||||
* [Psycopg2](https://www.psycopg.org) (2.7+)
|
* [Psycopg2](https://www.psycopg.org) (2.7+)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# just use the pgxs makefile
|
# just use the pgxs makefile
|
||||||
|
|
||||||
foreach(suffix ${PostgreSQL_ADDITIONAL_VERSIONS} "13" "12" "11" "10" "9.6" "9.5" "9.4" "9.3")
|
foreach(suffix ${PostgreSQL_ADDITIONAL_VERSIONS} "14" "13" "12" "11" "10" "9.6")
|
||||||
list(APPEND PG_CONFIG_HINTS
|
list(APPEND PG_CONFIG_HINTS
|
||||||
"/usr/pgsql-${suffix}/bin")
|
"/usr/pgsql-${suffix}/bin")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Reference in New Issue
Block a user