You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, checking if the DB is initialized is by checking if $PGDATA/PG_VERSION if exist.
However, PGDATA may not be the real data directory.
The real data directory can be overwritten by $PGDATA/postgresql.conf with data_directory = ''.
The text was updated successfully, but these errors were encountered:
https://github.com/docker-library/postgres/blob/master/16/alpine3.19/docker-entrypoint.sh#L234
Currently, checking if the DB is initialized is by checking if
$PGDATA/PG_VERSION
if exist.However, PGDATA may not be the real data directory.
The real data directory can be overwritten by
$PGDATA/postgresql.conf
withdata_directory = ''
.The text was updated successfully, but these errors were encountered: