Skip to content

Commit 07371b2

Browse files
committed
Postgres: Don't try clearing garbage
1 parent d0ad57f commit 07371b2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/pgsql/bin/postgres/entrypoint.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ echo "*:$REPLICATION_PRIMARY_PORT:*:$REPLICATION_USER:$REPLICATION_PASSWORD" >>
99
chmod 0600 $PG_HOME/.pgpass
1010
chown postgres:postgres $PG_HOME/.pgpass
1111

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-
2012
export CURRENT_REPLICATION_PRIMARY_HOST=""
2113
CURRENT_MASTER=`cluster_master || echo ''`
2214
echo ">>> Auto-detected master name: '$CURRENT_MASTER'"

0 commit comments

Comments
 (0)