Zap unnecessary logical-decoding reference.
authorRobert Haas <rhaas@postgresql.org>
Tue, 28 Jan 2014 20:23:09 +0000 (15:23 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 28 Jan 2014 20:23:09 +0000 (15:23 -0500)
src/backend/replication/slotfuncs.c

index f14a9aeb44255d31847acfc6672b8fda1199ffce..8864eccb3f12069a3cf9631b28d43ec24a1f0b83 100644 (file)
@@ -92,7 +92,7 @@ drop_replication_slot(PG_FUNCTION_ARGS)
 Datum
 pg_get_replication_slots(PG_FUNCTION_ARGS)
 {
-#define PG_STAT_GET_LOGICAL_DECODING_SLOTS_COLS 6
+#define PG_STAT_GET_REPLICATION_SLOTS_COLS 6
        ReturnSetInfo *rsinfo = (ReturnSetInfo *) fcinfo->resultinfo;
        TupleDesc       tupdesc;
        Tuplestorestate *tupstore;
@@ -130,8 +130,8 @@ pg_get_replication_slots(PG_FUNCTION_ARGS)
        for (slotno = 0; slotno < max_replication_slots; slotno++)
        {
                ReplicationSlot *slot = &ReplicationSlotCtl->replication_slots[slotno];
-               Datum           values[PG_STAT_GET_LOGICAL_DECODING_SLOTS_COLS];
-               bool            nulls[PG_STAT_GET_LOGICAL_DECODING_SLOTS_COLS];
+               Datum           values[PG_STAT_GET_REPLICATION_SLOTS_COLS];
+               bool            nulls[PG_STAT_GET_REPLICATION_SLOTS_COLS];
 
                TransactionId data_xmin;
                XLogRecPtr      restart_lsn;