pgwire
pgwire copied to clipboard
incorrect lastLsn
.endLsn of PrimaryKeepaliveMessage is greater than XLogData messages lsn. This causes replication slot moved to position before XLogData messages actually consumed
https://github.com/kagis/pgwire/blob/12826adc830fbb2a501d8b605d5d249441aab90d/mod.js#L1611