Select Git revision
5466-get-postgresql-primary-cmd.yml
-
Hossein Pursultani authored
`get-postgresql-primary` command prints out the connection information (IP address and port) of primary PostgreSQL node. This is useful to identify the primary node in a clustered deployment, for example with repmgr or Patroni. This command requires a Consul agent on the same node that it is running. It uses Consul DNS interface to lookup the SRV record for PostgreSQL service.
Hossein Pursultani authored`get-postgresql-primary` command prints out the connection information (IP address and port) of primary PostgreSQL node. This is useful to identify the primary node in a clustered deployment, for example with repmgr or Patroni. This command requires a Consul agent on the same node that it is running. It uses Consul DNS interface to lookup the SRV record for PostgreSQL service.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.