pgsql: Fix copy & paste mistake in pg_get_replication_slots(). - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Fix copy & paste mistake in pg_get_replication_slots().
Date
Msg-id E1ZOlGc-0001q0-P5@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2949987d37cf8d13ca0582610c17a4ddbc246193

Modified Files
--------------
src/backend/replication/slotfuncs.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Christoph Berg
Date:
Subject: Using contrib modules in check (Re: pgsql: Fix BRIN to use SnapshotAny during summarization)
Next
From: Andres Freund
Date:
Subject: pgsql: Fix copy & paste mistake in pg_get_replication_slots().