summaryrefslogtreecommitdiff
path: root/src/backend/tcop/pquery.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-05-22 13:04:48 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-05-22 13:04:48 -0400
commit8255c7a5eeba8f1a38b7a431c04909bde4f5e67d (patch)
tree50b5b32eaf388701b2714244a10fb23f8d4a2c7c /src/backend/tcop/pquery.c
parentbe76af171cdb3e7465c4ef234af403f97ad79b7b (diff)
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
Diffstat (limited to 'src/backend/tcop/pquery.c')
-rw-r--r--src/backend/tcop/pquery.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/backend/tcop/pquery.c b/src/backend/tcop/pquery.c
index 7f15933de2c..d5e71e8bd74 100644
--- a/src/backend/tcop/pquery.c
+++ b/src/backend/tcop/pquery.c
@@ -36,27 +36,27 @@ Portal ActivePortal = NULL;
static void ProcessQuery(PlannedStmt *plan,
- const char *sourceText,
- ParamListInfo params,
- QueryEnvironment *queryEnv,
- DestReceiver *dest,
- char *completionTag);
+ const char *sourceText,
+ ParamListInfo params,
+ QueryEnvironment *queryEnv,
+ DestReceiver *dest,
+ char *completionTag);
static void FillPortalStore(Portal portal, bool isTopLevel);
static uint64 RunFromStore(Portal portal, ScanDirection direction, uint64 count,
- DestReceiver *dest);
+ DestReceiver *dest);
static uint64 PortalRunSelect(Portal portal, bool forward, long count,
- DestReceiver *dest);
+ DestReceiver *dest);
static void PortalRunUtility(Portal portal, PlannedStmt *pstmt,
- bool isTopLevel, bool setHoldSnapshot,
- DestReceiver *dest, char *completionTag);
+ bool isTopLevel, bool setHoldSnapshot,
+ DestReceiver *dest, char *completionTag);
static void PortalRunMulti(Portal portal,
- bool isTopLevel, bool setHoldSnapshot,
- DestReceiver *dest, DestReceiver *altdest,
- char *completionTag);
+ bool isTopLevel, bool setHoldSnapshot,
+ DestReceiver *dest, DestReceiver *altdest,
+ char *completionTag);
static uint64 DoPortalRunFetch(Portal portal,
- FetchDirection fdirection,
- long count,
- DestReceiver *dest);
+ FetchDirection fdirection,
+ long count,
+ DestReceiver *dest);
static void DoPortalRewind(Portal portal);