Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8b5dfed

Browse files
committed
adding replication slots and wal senders
1 parent 338380f commit 8b5dfed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/mnt/init-permissions.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ echo "host replication $POSTGRES_USER 0.0.0.0/0 trust" >> $PGDATA/pg_hba.conf
55
echo "shared_preload_libraries = 'pg_stat_statements'" >> $PGDATA/postgresql.conf
66
echo "pg_stat_statements.max = 10000" >> $PGDATA/postgresql.conf
77
echo "pg_stat_statements.track = all" >> $PGDATA/postgresql.conf
8-
echo "wal_level=logical" >> $PGDATA/postgresql.conf
8+
echo "wal_level=logical" >> $PGDATA/postgresql.conf
9+
echo "max_replication_slots=5" >> $PGDATA/postgresql.conf
10+
echo "max_wal_senders=5" >> $PGDATA/postgresql.conf

0 commit comments

Comments
 (0)