darold / pgcluu

PostgreSQL Cluster performances monitoring and auditing tool
http://pgcluu.darold.net/
PostgreSQL License
336 stars 45 forks source link

Function dump_xlog_stat calls pg_current_wal_lsn()/pg_current_xlog_location() on a secondary #163

Closed gleu closed 1 year ago

gleu commented 1 year ago

Which obviously fails, because you cannot use wal control functions on a secondary. There should be a test such as the one available on dump_pgstatreplication().