From 2b60acc154830e04b781710dd2429adfa6e71a1c Mon Sep 17 00:00:00 2001 From: Danilo Stefanovic Date: Wed, 8 May 2024 13:58:28 +0200 Subject: [PATCH] Add PostGIS 3.4 with PostgreSQL 16 --- sem-service | 2 +- tests/sem_service/postgis | 15 ++++++++++++++- tests/sem_service/postgres | 11 +++++++---- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/sem-service b/sem-service index 85d2640a..a123759d 100755 --- a/sem-service +++ b/sem-service @@ -21,7 +21,7 @@ sem_services['postgres']="9.4.26 9.4 9.5.15 9.5.23 9.5 9.6.6 9.6.11 9.6.18 9.6.1 sem_services['rabbitmq']="3.6.16 3.6 3.8.2 3.8.9 3.8.14 3.8 3" sem_services['cassandra']="3.11.3 3.11.8 3.11 3" sem_services['rethinkdb']="2.3.6 2.3 2.4.1 2.4 2" -sem_services['postgis']="9.5-2.5 9.5-3.0 9.6-2.5 9.6-3.0 10-2.5 10-3.0 11-2.5 11-3.0 12-2.5 12-3.0 13-3.0 14-3.1 15-3.3 15-3.4" +sem_services['postgis']="9.5-2.5 9.5-3.0 9.6-2.5 9.6-3.0 10-2.5 10-3.0 11-2.5 11-3.0 12-2.5 12-3.0 13-3.0 14-3.1 15-3.3 15-3.4 16-3.4" sem_services['opensearch']="1.3.9 1 2.6.0 2.7.0 2" service::pull_image_retry() { diff --git a/tests/sem_service/postgis b/tests/sem_service/postgis index 844b3bee..36cc5508 100644 --- a/tests/sem_service/postgis +++ b/tests/sem_service/postgis @@ -9,6 +9,7 @@ psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 9.6 psql -U postgres -h localhost -c 'SELECT * FROM pg_extension' | grep -i postgis sem-service status postgis sem-service stop postgis + sem-service start postgis 11-2.5 psql -U postgres -h localhost -c 'SELECT * FROM pg_extension' | grep -i postgis createdb -U postgres -h 0.0.0.0 fooo @@ -16,6 +17,7 @@ psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 11 sem-service status postgis sem-service stop postgis + sem-service start postgis 11-3.0 --username=xxx --password=xxx --db=xxx --garbage else psql -U xxx -h localhost -c 'SELECT * FROM pg_extension' | grep -i postgis createdb -U xxx -h 0.0.0.0 fooo @@ -23,6 +25,7 @@ psql -h 0.0.0.0 -U xxx -c "\l" psql -U xxx -c "SELECT version()" | grep 11 sem-service status postgis sem-service stop postgis + sem-service start postgis 14-3.1 createdb -U postgres -h 0.0.0.0 fooo psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo @@ -30,6 +33,7 @@ psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 14 psql -U postgres -h localhost -c 'SELECT * FROM pg_extension' | grep -i postgis sem-service status postgis sem-service stop postgis + sem-service start postgis 15-3.3 createdb -U postgres -h 0.0.0.0 fooo psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo @@ -37,4 +41,13 @@ psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 15 psql -U postgres -h localhost -c 'SELECT * FROM pg_extension' | grep -i postgis sem-service status postgis sem-service stop postgis -cat /tmp/toolbox_semservice \ No newline at end of file + +sem-service start postgis 16-3.4 +createdb -U postgres -h 0.0.0.0 fooo +psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo +psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 16 +psql -U postgres -h localhost -c 'SELECT * FROM pg_extension' | grep -i postgis +sem-service status postgis +sem-service stop postgis + +cat /tmp/toolbox_semservice diff --git a/tests/sem_service/postgres b/tests/sem_service/postgres index 0e57bd79..f7440e7c 100644 --- a/tests/sem_service/postgres +++ b/tests/sem_service/postgres @@ -8,44 +8,47 @@ psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 9.6 sem-service status postgres sem-service stop postgres + sem-service start postgres 11 createdb -U postgres -h 0.0.0.0 fooo psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 11 sem-service status postgres sem-service stop postgres + sem-service start postgres 11 --username=xxx --password=xxx --db=xxx --garbage else createdb -U xxx -h 0.0.0.0 fooo psql -h 0.0.0.0 -U xxx -c "\l" psql -U xxx -c "SELECT version()" | grep 11 sem-service status postgres sem-service stop postgres + sem-service start postgres 14 createdb -U postgres -h 0.0.0.0 fooo psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 14 sem-service status postgres - sem-service stop postgres + sem-service start postgres 15.1 createdb -U postgres -h 0.0.0.0 fooo psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 15.1 sem-service status postgres - sem-service stop postgres + sem-service start postgres 15 createdb -U postgres -h 0.0.0.0 fooo psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 15 sem-service status postgres - sem-service stop postgres + sem-service start postgres 16 createdb -U postgres -h 0.0.0.0 fooo psql -h 0.0.0.0 -U postgres -c "\l" | grep fooo psql -h 0.0.0.0 -U postgres -c "SELECT version()" | grep 16 sem-service status postgres - +sem-service stop postgres cat /tmp/toolbox_semservice