Update tests reduce check to postgres version to remove architecture from check

This commit is contained in:
xbgmsharp
2023-08-23 12:48:49 +02:00
parent 3a4aadc81a
commit 6ae7591f3d
2 changed files with 5 additions and 3 deletions

View File

@@ -12,7 +12,9 @@ select current_database();
\x on
-- List PostgreSQL version
SELECT version();
--SELECT version();
-- check only version number to remove arch details
SHOW server_version;
-- List Postgis version
SELECT postgis_full_version();

View File

@@ -5,8 +5,8 @@
You are now connected to database "signalk" as user "username".
Expanded display is on.
-[ RECORD 1 ]------------------------------------------------------------------------------------------------------------------------------
version | PostgreSQL 15.4 (Debian 15.4-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
-[ RECORD 1 ]--+-------------------------------
server_version | 15.4 (Debian 15.4-1.pgdg110+1)
-[ RECORD 1 ]--------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
postgis_full_version | POSTGIS="3.4.0 0874ea3" [EXTENSION] PGSQL="150" GEOS="3.9.0-CAPI-1.16.2" PROJ="7.2.1 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/var/lib/postgresql/.local/share/proj DATABASE_PATH=/usr/share/proj/proj.db" LIBXML="2.9.10" LIBJSON="0.15" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)"