From a4b059fddecefd5f473e539b28277874ab83f32f Mon Sep 17 00:00:00 2001
From: Andres Freund <andres@anarazel.de>
Date: Wed, 12 Aug 2015 17:35:50 +0200
Subject: [PATCH] Remove duplicated assignment in
 pg_create_physical_replication_slot.

Reported-By: Gurjeet Singh
---
 src/backend/replication/slotfuncs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/backend/replication/slotfuncs.c b/src/backend/replication/slotfuncs.c
index 2dc68279900..b3c81404091 100644
--- a/src/backend/replication/slotfuncs.c
+++ b/src/backend/replication/slotfuncs.c
@@ -76,7 +76,6 @@ pg_create_physical_replication_slot(PG_FUNCTION_ARGS)
 	}
 	else
 	{
-		values[0] = NameGetDatum(&MyReplicationSlot->data.name);
 		nulls[1] = true;
 	}
 
-- 
GitLab