We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0ad57f commit 07371b2Copy full SHA for 07371b2
src/pgsql/bin/postgres/entrypoint.sh
@@ -9,14 +9,6 @@ echo "*:$REPLICATION_PRIMARY_PORT:*:$REPLICATION_USER:$REPLICATION_PASSWORD" >>
9
chmod 0600 $PG_HOME/.pgpass
10
chown postgres:postgres $PG_HOME/.pgpass
11
12
-if ! has_pg_cluster; then
13
- echo ">>> Cleaning data folder which might have some garbage..."
14
- rm -rf $PGDATA/*
15
-else
16
- postgres_configure
17
-fi
18
-
19
20
export CURRENT_REPLICATION_PRIMARY_HOST=""
21
CURRENT_MASTER=`cluster_master || echo ''`
22
echo ">>> Auto-detected master name: '$CURRENT_MASTER'"
0 commit comments