]> 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:19 +0000 (13:28 +0200)
committerAndres Freund <andres@anarazel.de>
Mon, 10 Aug 2015 11:28:19 +0000 (13:28 +0200)
commitd4ad167d9577cca8c75fee329e2765d930e0c29f
treec97292afc057ea5b9c5d83a225672030fabca375
parent68b5c08c3978a1ff76b4bc354bf892c7eb8df5c8
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