Skip to content

Commit 0b38c1c

Browse files
committed
Use deprecated standard_ExecutorRun() interface for testing old branches.
Do not merge!
1 parent f96fb9e commit 0b38c1c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

pg_wait_sampling.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ static void pgws_ExecutorStart(QueryDesc *queryDesc, int eflags);
8080
static void pgws_ExecutorRun(QueryDesc *queryDesc,
8181
ScanDirection direction,
8282
uint64 count
83-
#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
8483
,bool execute_once
85-
#endif
8684
);
8785
static void pgws_ExecutorFinish(QueryDesc *queryDesc);
8886
static void pgws_ExecutorEnd(QueryDesc *queryDesc);
@@ -1005,9 +1003,7 @@ static void
10051003
pgws_ExecutorRun(QueryDesc *queryDesc,
10061004
ScanDirection direction,
10071005
uint64 count
1008-
#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
10091006
,bool execute_once
1010-
#endif
10111007
)
10121008
{
10131009
int i = MyProc - ProcGlobal->allProcs;
@@ -1017,17 +1013,9 @@ pgws_ExecutorRun(QueryDesc *queryDesc,
10171013
PG_TRY();
10181014
{
10191015
if (prev_ExecutorRun)
1020-
#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
10211016
prev_ExecutorRun(queryDesc, direction, count, execute_once);
1022-
#else
1023-
prev_ExecutorRun(queryDesc, direction, count);
1024-
#endif
10251017
else
1026-
#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
10271018
standard_ExecutorRun(queryDesc, direction, count, execute_once);
1028-
#else
1029-
standard_ExecutorRun(queryDesc, direction, count);
1030-
#endif
10311019
nesting_level--;
10321020
if (nesting_level == 0)
10331021
pgws_proc_queryids[i] = UINT64CONST(0);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy