]> 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)
commit2949987d37cf8d13ca0582610c17a4ddbc246193
treeb1b35785f0a1af86cb22f97302a10fee15ecfe15
parent86baf3c24dfb6f351d0a1653552d0973ad7c4e3d
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