CASE WHENpg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x'||pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHENpg_catalog.pg_is_in_recovery() THEN 0 ELSEpg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_...
> node to this one and it does move forward but just get's stuck on > another history file. But same error message as above on psql01. > > So I give up and try to recover the secondary node (psql02). But this > yields this error: > > |PANIC:replicationcheckpointhas wrong...
CASE WHENpg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x'||pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHENpg_catalog.pg_is_in_recovery() THEN 0 ELSEpg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_...