Skip to content

pg_autoctl config check: INFO confuses PID with port and vice versa #1122

@u1sge

Description

@u1sge

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions