Skip to content

Commit

Permalink
Allow odder replication passwords (better bash quoting)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eximius committed Oct 16, 2020
1 parent 07371b2 commit 83cb2b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pgsql/bin/repmgr/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ $REPMGR_NODE_ID_PARAM_NAME=$(get_node_id)
node_name=$NODE_NAME
conninfo='user=$REPLICATION_USER password=$REPLICATION_PASSWORD host=$CLUSTER_NODE_NETWORK_NAME dbname=$REPLICATION_DB port=$REPLICATION_PRIMARY_PORT connect_timeout=$CONNECT_TIMEOUT'
failover=automatic
promote_command='PGPASSWORD=$REPLICATION_PASSWORD repmgr standby promote --log-level DEBUG --verbose'
follow_command='PGPASSWORD=$REPLICATION_PASSWORD repmgr standby follow -W --log-level DEBUG --verbose'
promote_command='PGPASSWORD=\'$REPLICATION_PASSWORD\' repmgr standby promote --log-level DEBUG --verbose'
follow_command='PGPASSWORD=\'$REPLICATION_PASSWORD\' repmgr standby follow -W --log-level DEBUG --verbose'
reconnect_attempts=$RECONNECT_ATTEMPTS
reconnect_interval=$RECONNECT_INTERVAL
$REPMGR_LOG_LEVEL_PARAM_NAME=$LOG_LEVEL
Expand Down

0 comments on commit 83cb2b4

Please sign in to comment.