pgsql: Fix copy & paste mistake in pg_get_replication_slots().

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix copy & paste mistake in pg_get_replication_slots().
Date: 2015-08-10 11:29:24
Message-ID: E1ZOlGe-0001qS-Bs@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d4ad167d9577cca8c75fee329e2765d930e0c29f

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-08-10 14:08:32 Re: Using contrib modules in check (Re: pgsql: Fix BRIN to use SnapshotAny during summarization)
Previous Message Andres Freund 2015-08-10 11:29:22 pgsql: Fix copy & paste mistake in pg_get_replication_slots().