Remove fields used in earlier revisions of placement_connection.c.

pull/1120/head
Andres Freund 2017-01-10 18:37:26 -08:00
parent d6ed47a7e6
commit 4b1d37b7be
1 changed files with 0 additions and 6 deletions

View File

@ -25,10 +25,6 @@
*/
typedef struct ConnectionReference
{
/* identity information about the connection */
uint64 shardId;
uint64 placementId;
/*
* The user used to read/modify the placement. We cannot reuse connections
* that were performed using a different role, since it would not have the
@ -213,8 +209,6 @@ StartPlacementConnection(uint32 flags, ShardPlacement *placement, const char *us
returnConnectionReference->connection = connection;
returnConnectionReference->hadDDL = false;
returnConnectionReference->hadDML = false;
returnConnectionReference->shardId = placement->shardId;
returnConnectionReference->placementId = placement->placementId;
returnConnectionReference->userName =
MemoryContextStrdup(TopTransactionContext, userName);
dlist_push_tail(&placementEntry->connectionReferences,