Remove duplicated assignment in pg_create_physical_replication_slot.
authorAndres Freund <andres@anarazel.de>
Wed, 12 Aug 2015 15:35:50 +0000 (17:35 +0200)
committerAndres Freund <andres@anarazel.de>
Wed, 12 Aug 2015 15:35:50 +0000 (17:35 +0200)
Reported-By: Gurjeet Singh
src/backend/replication/slotfuncs.c

index 2dc682799002fc5bebb6771756d921889f024f49..b3c81404091942a6feb27ce9a3822558538f9e5e 100644 (file)
@@ -76,7 +76,6 @@ pg_create_physical_replication_slot(PG_FUNCTION_ARGS)
    }
    else
    {
-       values[0] = NameGetDatum(&MyReplicationSlot->data.name);
        nulls[1] = true;
    }