Browse Source

Update PostgreSQL to version 18 (#10194)

Also, disable password-based authentication using the MD5 hash
algorithm, since that functionality has been officially deprecated:

https://www.postgresql.org/docs/18/auth-password.html

Signed-off-by: Anton Kirilov <[email protected]>
Anton Kirilov 1 month ago
parent
commit
5cf3193b3e
1 changed files with 1 additions and 3 deletions
  1. 1 3
      toolset/databases/postgres/postgres.dockerfile

+ 1 - 3
toolset/databases/postgres/postgres.dockerfile

@@ -1,9 +1,7 @@
-FROM postgres:17-bookworm
+FROM postgres:18-trixie
 
 
 ENV PGDATA=/ssd/postgresql \
 ENV PGDATA=/ssd/postgresql \
     POSTGRES_DB=hello_world \
     POSTGRES_DB=hello_world \
-    POSTGRES_HOST_AUTH_METHOD=md5 \
-    POSTGRES_INITDB_ARGS=--auth-host=md5 \
     POSTGRES_PASSWORD=benchmarkdbpass \
     POSTGRES_PASSWORD=benchmarkdbpass \
     POSTGRES_USER=benchmarkdbuser
     POSTGRES_USER=benchmarkdbuser