@@ -21,6 +21,8 @@ services:
2121 PGPASSWORD : postgres
2222 PGDATABASE : pgx_test
2323 PGHOST : localhost
24+ PGCLIENTENCODING : utf8
25+
2426 # PGX test env vars target PG18 (port 5432) by default.
2527 # test.sh overrides these per-target.
2628 PGX_TEST_DATABASE : " host=localhost port=5432 user=postgres password=postgres dbname=pgx_test"
@@ -52,7 +54,8 @@ services:
5254 POSTGRES_PASSWORD : postgres
5355 POSTGRES_DB : pgx_test
5456 POSTGRES_HOSTNAME : localhost
55- command : postgres -c port=5414 -c hba_file=/etc/postgresql/pg_hba.conf -c ssl=on -c ssl_cert_file=server.crt -c ssl_key_file=server.key -c ssl_ca_file=root.crt -c unix_socket_directories=/var/run/postgresql
57+ PGPORT : 5414
58+ command : postgres -c port=5414 -c hba_file=/etc/postgresql/pg_hba.conf -c unix_socket_directories=/var/run/postgresql
5659
5760 postgres-15 :
5861 image : postgres:15
@@ -70,7 +73,8 @@ services:
7073 POSTGRES_PASSWORD : postgres
7174 POSTGRES_DB : pgx_test
7275 POSTGRES_HOSTNAME : localhost
73- command : postgres -c port=5415 -c hba_file=/etc/postgresql/pg_hba.conf -c ssl=on -c ssl_cert_file=server.crt -c ssl_key_file=server.key -c ssl_ca_file=root.crt -c unix_socket_directories=/var/run/postgresql
76+ PGPORT : 5415
77+ command : postgres -c port=5415 -c hba_file=/etc/postgresql/pg_hba.conf -c unix_socket_directories=/var/run/postgresql
7478
7579 postgres-16 :
7680 image : postgres:16
@@ -88,7 +92,8 @@ services:
8892 POSTGRES_PASSWORD : postgres
8993 POSTGRES_DB : pgx_test
9094 POSTGRES_HOSTNAME : localhost
91- command : postgres -c port=5416 -c hba_file=/etc/postgresql/pg_hba.conf -c ssl=on -c ssl_cert_file=server.crt -c ssl_key_file=server.key -c ssl_ca_file=root.crt -c unix_socket_directories=/var/run/postgresql
95+ PGPORT : 5416
96+ command : postgres -c port=5416 -c hba_file=/etc/postgresql/pg_hba.conf -c unix_socket_directories=/var/run/postgresql
9297
9398 postgres-17 :
9499 image : postgres:17
@@ -106,7 +111,8 @@ services:
106111 POSTGRES_PASSWORD : postgres
107112 POSTGRES_DB : pgx_test
108113 POSTGRES_HOSTNAME : localhost
109- command : postgres -c port=5417 -c hba_file=/etc/postgresql/pg_hba.conf -c ssl=on -c ssl_cert_file=server.crt -c ssl_key_file=server.key -c ssl_ca_file=root.crt -c unix_socket_directories=/var/run/postgresql
114+ PGPORT : 5417
115+ command : postgres -c port=5417 -c hba_file=/etc/postgresql/pg_hba.conf -c unix_socket_directories=/var/run/postgresql
110116
111117 postgres-18 :
112118 image : postgres:18
@@ -124,7 +130,7 @@ services:
124130 POSTGRES_PASSWORD : postgres
125131 POSTGRES_DB : pgx_test
126132 POSTGRES_HOSTNAME : localhost
127- command : postgres -c hba_file=/etc/postgresql/pg_hba.conf -c ssl=on -c ssl_cert_file=server.crt -c ssl_key_file=server.key -c ssl_ca_file=root.crt -c unix_socket_directories=/var/run/postgresql
133+ command : postgres -c hba_file=/etc/postgresql/pg_hba.conf -c unix_socket_directories=/var/run/postgresql
128134
129135 cockroachdb :
130136 image : cockroachdb/cockroach:v25.4.4
0 commit comments