File tree Expand file tree Collapse file tree
addons/postgresql-cluster/15/chart/postgresql-cluster Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ preInitScript: |
5757 loop_wait: 10
5858 retry_timeout: 10
5959 maximum_lag_on_failover: 1048576
60+ failsafe_mode: true
6061 postgresql:
6162 use_pg_rewind: true
6263 use_slots: true
@@ -74,6 +75,7 @@ preInitScript: |
7475 max_worker_processes: 8
7576 max_wal_senders: 10
7677 max_replication_slots: 10
78+ hot_standby_feedback: on
7779 max_prepared_transactions: 0
7880 max_locks_per_transaction: 64
7981 wal_log_hints: "on"
@@ -120,7 +122,7 @@ postInitScript: |
120122 #!/bin/bash
121123 set -Eeu
122124 # Create monitor user
123- psql -w -c "CREATE USER tea_mon WITH ROLE pg_monitor;create extension pg_stat_statements;create extension pg_buffercache ;"
125+ psql -w -c "CREATE USER tea_mon ;GRANT pg_monitor TO tea_mon ;create extension pg_stat_statements;create extension pg_buffercache ;"
124126 # Create admin user
125127 if [[( -n "$ADMIN_USER") && ( -n "$ADMIN_PASSWORD")]]; then
126128
You can’t perform that action at this time.
0 commit comments