]> granicus.if.org Git - postgresql/commit
Fix copy & paste mistake in pg_get_replication_slots().
authorAndres Freund <andres@anarazel.de>
Mon, 10 Aug 2015 11:28:18 +0000 (13:28 +0200)
committerAndres Freund <andres@anarazel.de>
Mon, 10 Aug 2015 11:28:18 +0000 (13:28 +0200)
commit5c4b25accebb5d35358bb0c19b841d8d9b064e46
tree5c6add01ba4551cb350a470ffd3b0d282ddfd2be
parent70fd0e14e806a4d0ed31b19d92e1f9f140ef686d
Fix copy & paste mistake in pg_get_replication_slots().

XLogRecPtr was compared with InvalidTransactionId instead of
InvalidXLogRecPtr. As both are defined to the same value this doesn't
cause any actual problems, but it's still wrong.

Backpatch: 9.4-master, bug was introduced in 9.4
src/backend/replication/slotfuncs.c