FYI: Today, I used pg_auto_failover for the very first time ;-)
After creating the monitor I wanted to learn about pg_autoctl functionality and stumbled about this minor glitch when checking my configuration
pg_autoctl config check:
15:45:34 47885 INFO Postgres setup for PGDATA "/var/db/postgres/data18" is ok, running with PID 5432 and port 47546
15:45:34 47885 INFO Connection to local Postgres ok, using "port=5432 dbname=pg_auto_failover host=/tmp user=autoctl_node"
pgdata: /var/db/postgres/data18
pg_ctl: /usr/local/bin/pg_ctl
pg_version: "18.4" (1804)
pghost: /tmp
pgport: 5432
proxyport: 0
pid: 47546
is in recovery: no
Control cluster state: in production
Control Version: 1800
Catalog Version: 202506291
System Identifier: 7648645088023558424
Latest checkpoint LSN: 0/1E413F8
Postmaster status: ready
The first line confuses PID with port and vice versa
HTH
FYI: Today, I used pg_auto_failover for the very first time ;-)
After creating the monitor I wanted to learn about
pg_autoctlfunctionality and stumbled about this minor glitch when checking my configurationpg_autoctl config check:The first line confuses PID with port and vice versa
HTH