summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2012-07-12 00:21:54 +0000
committerMichael Paquier2012-07-12 00:23:35 +0000
commitc29739c5e6e717e1352b413d3cf6a7fa7566be53 (patch)
treef15ff0b7ffb46d85507bb5ff3f8ecf5b300c2b79
parentbb7c8a6bb9d7f5cf5f4bc51dc2c13533b84b6547 (diff)
Remove all the trailing whitespaces in XC backend files
This includes locator, XC planner, pool, barrier and node manager. This clean-up should have been done long ago...
-rw-r--r--src/backend/pgxc/barrier/barrier.c14
-rw-r--r--src/backend/pgxc/locator/locator.c52
-rw-r--r--src/backend/pgxc/nodemgr/groupmgr.c6
-rw-r--r--src/backend/pgxc/plan/planner.c16
-rw-r--r--src/backend/pgxc/pool/execRemote.c62
-rw-r--r--src/backend/pgxc/pool/pgxcnode.c4
-rw-r--r--src/backend/pgxc/pool/poolcomm.c2
-rw-r--r--src/backend/pgxc/pool/poolutils.c2
-rw-r--r--src/backend/pgxc/pool/postgresql_fdw.c5
9 files changed, 82 insertions, 81 deletions
diff --git a/src/backend/pgxc/barrier/barrier.c b/src/backend/pgxc/barrier/barrier.c
index 5a3c14c198..2c26da41f7 100644
--- a/src/backend/pgxc/barrier/barrier.c
+++ b/src/backend/pgxc/barrier/barrier.c
@@ -166,7 +166,7 @@ SendBarrierPrepareRequest(List *coords, const char *id)
int msglen;
int barrier_idlen;
- coord_handles = get_handles(NIL, coords, true);
+ coord_handles = get_handles(NIL, coords, true);
for (conn = 0; conn < coord_handles->co_conn_count; conn++)
{
@@ -223,7 +223,7 @@ CheckBarrierCommandStatus(PGXCNodeAllHandles *conn_handles, const char *id,
for (conn = 0; conn < count; conn++)
{
PGXCNodeHandle *handle;
-
+
if (conn < conn_handles->co_conn_count)
handle = conn_handles->coord_handles[conn];
else
@@ -305,7 +305,7 @@ SendBarrierEndRequest(PGXCNodeAllHandles *coord_handles, const char *id)
* That completes the first step in barrier generation
*
* Any errors will be reported via ereport.
- */
+ */
static PGXCNodeAllHandles *
PrepareBarrier(const char *id)
{
@@ -342,7 +342,7 @@ PrepareBarrier(const char *id)
/*
* Execute the barrier command on all the components, including Datanodes and
- * Coordinators.
+ * Coordinators.
*/
static void
ExecuteBarrier(const char *id)
@@ -358,13 +358,13 @@ ExecuteBarrier(const char *id)
elog(DEBUG2, "Sending CREATE BARRIER <%s> EXECUTE message to "
"Datanodes and Coordinator", id);
- /*
+ /*
* Send a CREATE BARRIER request to all the Datanodes and the Coordinators
*/
for (conn = 0; conn < conn_handles->co_conn_count + conn_handles->dn_conn_count; conn++)
{
PGXCNodeHandle *handle;
-
+
if (conn < conn_handles->co_conn_count)
handle = conn_handles->coord_handles[conn];
else
@@ -465,7 +465,7 @@ RequestBarrier(const char *id, char *completionTag)
* Get a barrier id if the user has not supplied it
*/
barrier_id = generate_barrier_id(id);
-
+
elog(DEBUG2, "CREATE BARRIER <%s>", barrier_id);
/*
diff --git a/src/backend/pgxc/locator/locator.c b/src/backend/pgxc/locator/locator.c
index 0652b88725..905369e688 100644
--- a/src/backend/pgxc/locator/locator.c
+++ b/src/backend/pgxc/locator/locator.c
@@ -57,19 +57,19 @@ Oid primary_data_node = InvalidOid;
int num_preferred_data_nodes = 0;
Oid preferred_data_node[MAX_PREFERRED_NODES];
-static const unsigned int xc_mod_m[] =
+static const unsigned int xc_mod_m[] =
{
- 0x00000000, 0x55555555, 0x33333333, 0xc71c71c7,
- 0x0f0f0f0f, 0xc1f07c1f, 0x3f03f03f, 0xf01fc07f,
+ 0x00000000, 0x55555555, 0x33333333, 0xc71c71c7,
+ 0x0f0f0f0f, 0xc1f07c1f, 0x3f03f03f, 0xf01fc07f,
0x00ff00ff, 0x07fc01ff, 0x3ff003ff, 0xffc007ff,
0xff000fff, 0xfc001fff, 0xf0003fff, 0xc0007fff,
- 0x0000ffff, 0x0001ffff, 0x0003ffff, 0x0007ffff,
+ 0x0000ffff, 0x0001ffff, 0x0003ffff, 0x0007ffff,
0x000fffff, 0x001fffff, 0x003fffff, 0x007fffff,
0x00ffffff, 0x01ffffff, 0x03ffffff, 0x07ffffff,
0x0fffffff, 0x1fffffff, 0x3fffffff, 0x7fffffff
};
-static const unsigned int xc_mod_q[][6] =
+static const unsigned int xc_mod_q[][6] =
{
{ 0, 0, 0, 0, 0, 0}, {16, 8, 4, 2, 1, 1}, {16, 8, 4, 2, 2, 2},
{15, 6, 3, 3, 3, 3}, {16, 8, 4, 4, 4, 4}, {15, 5, 5, 5, 5, 5},
@@ -84,7 +84,7 @@ static const unsigned int xc_mod_q[][6] =
{30, 30, 30, 30, 30, 30}, {31, 31, 31, 31, 31, 31}
};
-static const unsigned int xc_mod_r[][6] =
+static const unsigned int xc_mod_r[][6] =
{
{0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
{0x0000ffff, 0x000000ff, 0x0000000f, 0x00000003, 0x00000001, 0x00000001},
@@ -95,28 +95,28 @@ static const unsigned int xc_mod_r[][6] =
{0x00000fff, 0x0000003f, 0x0000003f, 0x0000003f, 0x0000003f, 0x0000003f},
{0x00003fff, 0x0000007f, 0x0000007f, 0x0000007f, 0x0000007f, 0x0000007f},
{0x0000ffff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff},
- {0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff},
- {0x000003ff, 0x000003ff, 0x000003ff, 0x000003ff, 0x000003ff, 0x000003ff},
- {0x000007ff, 0x000007ff, 0x000007ff, 0x000007ff, 0x000007ff, 0x000007ff},
- {0x00000fff, 0x00000fff, 0x00000fff, 0x00000fff, 0x00000fff, 0x00000fff},
- {0x00001fff, 0x00001fff, 0x00001fff, 0x00001fff, 0x00001fff, 0x00001fff},
- {0x00003fff, 0x00003fff, 0x00003fff, 0x00003fff, 0x00003fff, 0x00003fff},
- {0x00007fff, 0x00007fff, 0x00007fff, 0x00007fff, 0x00007fff, 0x00007fff},
- {0x0000ffff, 0x0000ffff, 0x0000ffff, 0x0000ffff, 0x0000ffff, 0x0000ffff},
- {0x0001ffff, 0x0001ffff, 0x0001ffff, 0x0001ffff, 0x0001ffff, 0x0001ffff},
- {0x0003ffff, 0x0003ffff, 0x0003ffff, 0x0003ffff, 0x0003ffff, 0x0003ffff},
+ {0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff},
+ {0x000003ff, 0x000003ff, 0x000003ff, 0x000003ff, 0x000003ff, 0x000003ff},
+ {0x000007ff, 0x000007ff, 0x000007ff, 0x000007ff, 0x000007ff, 0x000007ff},
+ {0x00000fff, 0x00000fff, 0x00000fff, 0x00000fff, 0x00000fff, 0x00000fff},
+ {0x00001fff, 0x00001fff, 0x00001fff, 0x00001fff, 0x00001fff, 0x00001fff},
+ {0x00003fff, 0x00003fff, 0x00003fff, 0x00003fff, 0x00003fff, 0x00003fff},
+ {0x00007fff, 0x00007fff, 0x00007fff, 0x00007fff, 0x00007fff, 0x00007fff},
+ {0x0000ffff, 0x0000ffff, 0x0000ffff, 0x0000ffff, 0x0000ffff, 0x0000ffff},
+ {0x0001ffff, 0x0001ffff, 0x0001ffff, 0x0001ffff, 0x0001ffff, 0x0001ffff},
+ {0x0003ffff, 0x0003ffff, 0x0003ffff, 0x0003ffff, 0x0003ffff, 0x0003ffff},
{0x0007ffff, 0x0007ffff, 0x0007ffff, 0x0007ffff, 0x0007ffff, 0x0007ffff},
- {0x000fffff, 0x000fffff, 0x000fffff, 0x000fffff, 0x000fffff, 0x000fffff},
- {0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff},
- {0x003fffff, 0x003fffff, 0x003fffff, 0x003fffff, 0x003fffff, 0x003fffff},
- {0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff},
+ {0x000fffff, 0x000fffff, 0x000fffff, 0x000fffff, 0x000fffff, 0x000fffff},
+ {0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff},
+ {0x003fffff, 0x003fffff, 0x003fffff, 0x003fffff, 0x003fffff, 0x003fffff},
+ {0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff},
{0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff},
- {0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff},
- {0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff},
+ {0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff},
+ {0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff},
{0x07ffffff, 0x07ffffff, 0x07ffffff, 0x07ffffff, 0x07ffffff, 0x07ffffff},
{0x0fffffff, 0x0fffffff, 0x0fffffff, 0x0fffffff, 0x0fffffff, 0x0fffffff},
- {0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff},
- {0x3fffffff, 0x3fffffff, 0x3fffffff, 0x3fffffff, 0x3fffffff, 0x3fffffff},
+ {0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff},
+ {0x3fffffff, 0x3fffffff, 0x3fffffff, 0x3fffffff, 0x3fffffff, 0x3fffffff},
{0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff}
};
@@ -156,7 +156,7 @@ GetAnyDataNode(List *relNodes)
/*
* compute_modulo
* This function performs modulo in an optimized way
- * It optimizes modulo of any positive number by
+ * It optimizes modulo of any positive number by
* 1,2,3,4,7,8,15,16,31,32,63,64 and so on
* for the rest of the denominators it uses % operator
* The optimized algos have been taken from
@@ -550,7 +550,7 @@ GetRelationNodes(RelationLocInfo *rel_loc_info, Datum valueForDistCol,
* Write to primary node first, to reduce chance of a deadlock
* on replicated tables. If -1, do not use primary copy.
*/
- if (IsTableDistOnPrimary(rel_loc_info)
+ if (IsTableDistOnPrimary(rel_loc_info)
&& exec_nodes->nodeList
&& list_length(exec_nodes->nodeList) > 1) /* make sure more than 1 */
{
diff --git a/src/backend/pgxc/nodemgr/groupmgr.c b/src/backend/pgxc/nodemgr/groupmgr.c
index a9e8502ca1..f16f4ec54b 100644
--- a/src/backend/pgxc/nodemgr/groupmgr.c
+++ b/src/backend/pgxc/nodemgr/groupmgr.c
@@ -29,7 +29,7 @@
/*
* PgxcGroupCreate
- *
+ *
* Create a PGXC node group
*/
void
@@ -106,7 +106,7 @@ PgxcGroupCreate(CreateGroupStmt *stmt)
/* Do the insertion */
(void) simple_heap_insert(rel, tup);
-
+
CatalogUpdateIndexes(rel, tup);
heap_close(rel, RowExclusiveLock);
@@ -115,7 +115,7 @@ PgxcGroupCreate(CreateGroupStmt *stmt)
/*
* PgxcNodeGroupsRemove():
- *
+ *
* Remove a PGXC node group
*/
void
diff --git a/src/backend/pgxc/plan/planner.c b/src/backend/pgxc/plan/planner.c
index cdef850204..8ef63d8a88 100644
--- a/src/backend/pgxc/plan/planner.c
+++ b/src/backend/pgxc/plan/planner.c
@@ -108,8 +108,9 @@ make_ctid_col_ref(Query *qry)
int32 type_mod;
Oid varcollid;
- /* If the query has more than 1 table RTEs where both are different, we can not add ctid to the query target list
- * We should in this case skip adding it to the target list and a WHERE CURRENT OF should then
+ /*
+ * If the query has more than 1 table RTEs where both are different, we can not add ctid to the query target list
+ * We should in this case skip adding it to the target list and a WHERE CURRENT OF should then
* fail saying the query is not a simply update able scan of table
*/
@@ -123,13 +124,14 @@ make_ctid_col_ref(Query *qry)
tableRTEs++;
if (tableRTEs > 1)
{
- /* See if we get two RTEs in case we have two references
- * to the same table with different aliases
- */
+ /*
+ * See if we get two RTEs in case we have two references
+ * to the same table with different aliases
+ */
foreach(lc2, qry->rtable)
{
rte2 = (RangeTblEntry *) lfirst(lc2);
-
+
if (rte2->rtekind == RTE_RELATION)
{
if (rte2->relid != rte1->relid)
@@ -279,7 +281,7 @@ get_fn_oid(char *fn_name, Oid *p_rettype)
fn_nm = makeString(fn_name);
fn_name_list = list_make1(fn_nm);
-
+
fdc = func_get_detail(fn_name_list,
NULL, /* argument expressions */
NULL, /* argument names */
diff --git a/src/backend/pgxc/pool/execRemote.c b/src/backend/pgxc/pool/execRemote.c
index 73fa752f3b..ce556c699b 100644
--- a/src/backend/pgxc/pool/execRemote.c
+++ b/src/backend/pgxc/pool/execRemote.c
@@ -86,7 +86,7 @@ typedef struct RemoteXactState
/* Current status of the remote 2PC */
RemoteXactStatus status;
- /*
+ /*
* Information about all the nodes involved in the transaction. We track
* the number of writers and readers. The first numWriteRemoteNodes entries
* in the remoteNodeHandles and remoteNodeStatus correspond to the writer
@@ -114,7 +114,7 @@ static RemoteXactState remoteXactState;
#define COPY_BUFFER_SIZE 8192
#define PRIMARY_NODE_WRITEAHEAD 1024 * 1024
-/*
+/*
* List of PGXCNodeHandle to track readers and writers involved in the
* current transaction
*/
@@ -705,24 +705,24 @@ HandleError(RemoteQueryState *combiner, char *msg_body, size_t len)
* HandleCmdComplete -
* combine deparsed sql statements execution results
*
- * Input parameters:
+ * Input parameters:
* commandType is dml command type
* combineTag is used to combine the completion result
* msg_body is execution result needed to combine
* len is msg_body size
*/
void
-HandleCmdComplete(CmdType commandType, CombineTag *combine,
+HandleCmdComplete(CmdType commandType, CombineTag *combine,
const char *msg_body, size_t len)
{
int digits = 0;
uint64 originrowcount = 0;
uint64 rowcount = 0;
uint64 total = 0;
-
+
if (msg_body == NULL)
return;
-
+
/* if there's nothing in combine, just copy the msg_body */
if (strlen(combine->data) == 0)
{
@@ -735,7 +735,7 @@ HandleCmdComplete(CmdType commandType, CombineTag *combine,
/* commandType is conflict */
if (combine->cmdType != commandType)
return;
-
+
/* get the processed row number from msg_body */
digits = parse_row_count(msg_body, len + 1, &rowcount);
elog(DEBUG1, "digits is %d\n", digits);
@@ -774,7 +774,7 @@ HandleCmdComplete(CmdType commandType, CombineTag *combine,
strcpy(combine->data, "");
break;
}
-
+
}
/*
@@ -1396,7 +1396,7 @@ is_data_node_ready(PGXCNodeHandle * conn)
return false;
}
-/*
+/*
* Construct a BEGIN TRANSACTION command after taking into account the
* current options. The returned string is not palloced and is valid only until
* the next call to the function.
@@ -1408,7 +1408,7 @@ generate_begin_command(void)
const char *read_only;
const char *isolation_level;
- /*
+ /*
* First get the READ ONLY status because the next call to GetConfigOption
* will overwrite the return buffer
*/
@@ -1421,7 +1421,7 @@ generate_begin_command(void)
isolation_level = GetConfigOption("transaction_isolation", false, false);
if (strcmp(isolation_level, "default") == 0)
isolation_level = GetConfigOption("default_transaction_isolation", false, false);
-
+
/* Finally build a START TRANSACTION command */
sprintf(begin_cmd, "START TRANSACTION ISOLATION LEVEL %s %s", isolation_level, read_only);
@@ -1504,7 +1504,7 @@ pgxc_node_begin(int conn_count, PGXCNodeHandle **connections,
* modifying the data at the Datanode. We can possibly rely on the
* function qualification to decide if a statement is a read-only or a
* read-write statement.
- */
+ */
RegisterTransactionNodes(1, (void **)&connections[i], !readOnly);
new_connections[new_count++] = connections[i];
}
@@ -1527,8 +1527,8 @@ pgxc_node_begin(int conn_count, PGXCNodeHandle **connections,
if (!ValidateAndCloseCombiner(combiner))
return EOF;
- /*
- * Ask pooler to send commands (if any) to nodes involved in transaction to alter the
+ /*
+ * Ask pooler to send commands (if any) to nodes involved in transaction to alter the
* behavior of current transaction. This fires all transaction level commands before
* issuing any DDL, DML or SELECT within the current transaction block.
*/
@@ -1581,7 +1581,7 @@ pgxc_node_remote_prepare(char *prepareGID)
for (i = 0; i < write_conn_count; i++)
{
- /*
+ /*
* PGXCTODO - We should actually make sure that the connection state is
* IDLE when we reach here. The executor should have guaranteed that
* before the transaction gets to the commit point. For now, consume
@@ -1680,7 +1680,7 @@ pgxc_node_remote_prepare(char *prepareGID)
else
elog(ERROR, "failed to PREPARE transaction on one or more nodes");
}
-
+
if (remoteXactState.status == RXACT_PREPARE_FAILED)
ereport(ERROR,
(errcode(ERRCODE_INTERNAL_ERROR),
@@ -1725,7 +1725,7 @@ pgxc_node_remote_commit(void)
int i;
RemoteQueryState *combiner = NULL;
- /*
+ /*
* We must handle reader and writer connections both since the transaction
* must be closed even on a read-only node
*/
@@ -1766,7 +1766,7 @@ pgxc_node_remote_commit(void)
remoteXactState.commitXid = GetAuxilliaryTransactionId();
}
- /*
+ /*
* First send GXID if necessary. If there is an error at this stage, the
* transaction can be aborted safely because we haven't yet sent COMMIT
* command to any participant
@@ -1851,7 +1851,7 @@ pgxc_node_remote_commit(void)
CloseCombiner(combiner);
combiner = NULL;
}
- /*
+ /*
* Even if the command failed on some node, don't throw an error just
* yet. That gives a chance to look for individual connection status
* and record appropriate information for later recovery
@@ -1917,8 +1917,8 @@ pgxc_node_remote_commit(void)
/*
* Abort the current transaction on the local and remote nodes. If the
* transaction is prepared on the remote node, we send a ROLLBACK PREPARED
- * command, otherwise a ROLLBACK command is sent.
- *
+ * command, otherwise a ROLLBACK command is sent.
+ *
* Note that if the local node was involved and prepared successfully, we are
* running in a separate transaction context right now
*/
@@ -2102,7 +2102,7 @@ DataNodeCopyBegin(const char *query, List *nodelist, Snapshot snapshot)
/* Gather statistics */
stat_statement();
stat_transaction(conn_count);
-
+
gxid = GetCurrentTransactionId();
if (!GlobalTransactionIdIsValid(gxid))
@@ -2757,7 +2757,7 @@ do_query(RemoteQueryState *node)
bool need_tran_block;
PGXCNodeAllHandles *pgxc_connections;
- /*
+ /*
* Remember if the remote query is accessing a temp object
*
* !! PGXC TODO Check if the is_temp flag is propogated correctly when a
@@ -3228,10 +3228,10 @@ ExecEndRemoteQuery(RemoteQueryState *node)
bool bFree = false;
int nCount;
int i;
-
+
cur_handles = node->cursor_connections;
nCount = node->cursor_count;
-
+
for(i=0;i<node->cursor_count;i++)
{
if (node->cursor_connections == NULL || node->cursor_connections[i]->sock == -1)
@@ -3243,21 +3243,21 @@ ExecEndRemoteQuery(RemoteQueryState *node)
break;
}
}
-
+
if (node->cursor)
{
close_node_cursors(cur_handles, nCount, node->cursor);
pfree(node->cursor);
node->cursor = NULL;
}
-
+
if (node->update_cursor)
{
close_node_cursors(cur_handles, nCount, node->update_cursor);
pfree(node->update_cursor);
node->update_cursor = NULL;
}
-
+
if (bFree)
pfree_pgxc_all_handles(all_handles);
}
@@ -4006,7 +4006,7 @@ PreCommit_Remote(char *prepareGID, bool preparedLocalNode)
* down the remote nodes to execute the forthcoming COMMIT PREPARED
* command. So grab one from the GTM and track it. It will be closed along
* with the main transaction at the end.
- */
+ */
pgxc_node_remote_commit();
/*
@@ -4049,7 +4049,7 @@ PreCommit_Remote(char *prepareGID, bool preparedLocalNode)
* global consistency. We handle this case by recording the nodes involved in
* the transaction at the GTM and keep the transaction open at the GTM so that
* its reported as "in-progress" on all the nodes until resolved
- */
+ */
bool
PreAbort_Remote(void)
{
@@ -4072,7 +4072,7 @@ PreAbort_Remote(void)
*/
char *nodestring = NULL;
- /*
+ /*
* Get the list of nodes in prepared state; such nodes have not
* committed successfully
*/
diff --git a/src/backend/pgxc/pool/pgxcnode.c b/src/backend/pgxc/pool/pgxcnode.c
index cb314909e1..5b4cf2e289 100644
--- a/src/backend/pgxc/pool/pgxcnode.c
+++ b/src/backend/pgxc/pool/pgxcnode.c
@@ -467,7 +467,7 @@ retry:
}
/*
- * Is there any data enqueued in the TCP input buffer waiting
+ * Is there any data enqueued in the TCP input buffer waiting
* to be read sent by the PGXC node connection
*/
@@ -1504,7 +1504,7 @@ pgxc_node_flush(PGXCNodeHandle *handle)
/*
* This method won't return until network buffer is empty or error occurs
- * To ensure all data in network buffers is read and wasted
+ * To ensure all data in network buffers is read and wasted
*/
void
pgxc_node_flush_read(PGXCNodeHandle *handle)
diff --git a/src/backend/pgxc/pool/poolcomm.c b/src/backend/pgxc/pool/poolcomm.c
index c7099cad34..804991e9ae 100644
--- a/src/backend/pgxc/pool/poolcomm.c
+++ b/src/backend/pgxc/pool/poolcomm.c
@@ -787,7 +787,7 @@ failure:
}
/*
- * Send a message containing pid numbers to the specified connection
+ * Send a message containing pid numbers to the specified connection
*/
int
pool_sendpids(PoolPort *port, int *pids, int count)
diff --git a/src/backend/pgxc/pool/poolutils.c b/src/backend/pgxc/pool/poolutils.c
index e7a7ba3a5c..594aa71af4 100644
--- a/src/backend/pgxc/pool/poolutils.c
+++ b/src/backend/pgxc/pool/poolutils.c
@@ -3,7 +3,7 @@
* poolutils.c
*
* Utilities for Postgres-XC pooler
- *
+ *
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 2010-2012 Postgres-XC Development Group
*
diff --git a/src/backend/pgxc/pool/postgresql_fdw.c b/src/backend/pgxc/pool/postgresql_fdw.c
index 85aa786c43..4f404549ee 100644
--- a/src/backend/pgxc/pool/postgresql_fdw.c
+++ b/src/backend/pgxc/pool/postgresql_fdw.c
@@ -76,11 +76,11 @@ is_immutable_func(Oid funcid)
* - operator
* - IMMUTABLE only
* - It is required that the meaning of the operator be the same as the
- * local server in the foreign server.
+ * local server in the foreign server.
* - function
* - IMMUTABLE only
* - It is required that the meaning of the operator be the same as the
- * local server in the foreign server.
+ * local server in the foreign server.
* - scalar array operator (ANY/ALL)
*/
bool
@@ -296,4 +296,3 @@ deparseSql(RemoteQueryState *scanstate)
return sql.data;
}
-