We were building a PostgreSQL Logical Replication monitoring system — topology visualization, lag alerts, health checks — across PostgreSQL 10 through 17. The problem we kept running into wasn't missing documentation. It was that logical replication metadata is fundamentally decentralized: the...