mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
pgindent run for 8.3.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.117 2007/09/03 18:46:30 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.118 2007/11/15 21:14:38 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -32,7 +32,7 @@
|
||||
Portal ActivePortal = NULL;
|
||||
|
||||
|
||||
static void ProcessQuery(PlannedStmt *plan,
|
||||
static void ProcessQuery(PlannedStmt * plan,
|
||||
ParamListInfo params,
|
||||
DestReceiver *dest,
|
||||
char *completionTag);
|
||||
@ -57,7 +57,7 @@ static void DoPortalRewind(Portal portal);
|
||||
* CreateQueryDesc
|
||||
*/
|
||||
QueryDesc *
|
||||
CreateQueryDesc(PlannedStmt *plannedstmt,
|
||||
CreateQueryDesc(PlannedStmt * plannedstmt,
|
||||
Snapshot snapshot,
|
||||
Snapshot crosscheck_snapshot,
|
||||
DestReceiver *dest,
|
||||
@ -67,9 +67,9 @@ CreateQueryDesc(PlannedStmt *plannedstmt,
|
||||
QueryDesc *qd = (QueryDesc *) palloc(sizeof(QueryDesc));
|
||||
|
||||
qd->operation = plannedstmt->commandType; /* operation */
|
||||
qd->plannedstmt = plannedstmt; /* plan */
|
||||
qd->utilitystmt = plannedstmt->utilityStmt; /* in case DECLARE CURSOR */
|
||||
qd->snapshot = snapshot; /* snapshot */
|
||||
qd->plannedstmt = plannedstmt; /* plan */
|
||||
qd->utilitystmt = plannedstmt->utilityStmt; /* in case DECLARE CURSOR */
|
||||
qd->snapshot = snapshot; /* snapshot */
|
||||
qd->crosscheck_snapshot = crosscheck_snapshot; /* RI check snapshot */
|
||||
qd->dest = dest; /* output dest */
|
||||
qd->params = params; /* parameter values passed into query */
|
||||
@ -94,10 +94,10 @@ CreateUtilityQueryDesc(Node *utilitystmt,
|
||||
{
|
||||
QueryDesc *qd = (QueryDesc *) palloc(sizeof(QueryDesc));
|
||||
|
||||
qd->operation = CMD_UTILITY; /* operation */
|
||||
qd->operation = CMD_UTILITY; /* operation */
|
||||
qd->plannedstmt = NULL;
|
||||
qd->utilitystmt = utilitystmt; /* utility command */
|
||||
qd->snapshot = snapshot; /* snapshot */
|
||||
qd->utilitystmt = utilitystmt; /* utility command */
|
||||
qd->snapshot = snapshot; /* snapshot */
|
||||
qd->crosscheck_snapshot = InvalidSnapshot; /* RI check snapshot */
|
||||
qd->dest = dest; /* output dest */
|
||||
qd->params = params; /* parameter values passed into query */
|
||||
@ -141,7 +141,7 @@ FreeQueryDesc(QueryDesc *qdesc)
|
||||
* error; otherwise the executor's memory usage will be leaked.
|
||||
*/
|
||||
static void
|
||||
ProcessQuery(PlannedStmt *plan,
|
||||
ProcessQuery(PlannedStmt * plan,
|
||||
ParamListInfo params,
|
||||
DestReceiver *dest,
|
||||
char *completionTag)
|
||||
@ -579,7 +579,7 @@ PortalStart(Portal portal, ParamListInfo params, Snapshot snapshot)
|
||||
* take care of it if needed.
|
||||
*/
|
||||
{
|
||||
Node *ustmt = PortalGetPrimaryStmt(portal);
|
||||
Node *ustmt = PortalGetPrimaryStmt(portal);
|
||||
|
||||
Assert(!IsA(ustmt, PlannedStmt));
|
||||
portal->tupDesc = UtilityTupleDescriptor(ustmt);
|
||||
@ -1218,7 +1218,7 @@ PortalRunMulti(Portal portal, bool isTopLevel,
|
||||
*/
|
||||
foreach(stmtlist_item, portal->stmts)
|
||||
{
|
||||
Node *stmt = (Node *) lfirst(stmtlist_item);
|
||||
Node *stmt = (Node *) lfirst(stmtlist_item);
|
||||
|
||||
/*
|
||||
* If we got a cancel signal in prior command, quit
|
||||
@ -1366,7 +1366,7 @@ PortalRunFetch(Portal portal,
|
||||
* results in the portal's tuplestore.
|
||||
*/
|
||||
if (!portal->holdStore)
|
||||
FillPortalStore(portal, false /* isTopLevel */);
|
||||
FillPortalStore(portal, false /* isTopLevel */ );
|
||||
|
||||
/*
|
||||
* Now fetch desired portion of results.
|
||||
|
Reference in New Issue
Block a user