From 0b38c1cba95a2fb84d9519642c4bd4515bc6f6e5 Mon Sep 17 00:00:00 2001 From: Zharkov Roman Date: Thu, 14 Aug 2025 09:18:25 +0700 Subject: [PATCH] Use deprecated standard_ExecutorRun() interface for testing old branches. Do not merge! --- pg_wait_sampling.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pg_wait_sampling.c b/pg_wait_sampling.c index e165a6a..dc905ca 100644 --- a/pg_wait_sampling.c +++ b/pg_wait_sampling.c @@ -80,9 +80,7 @@ static void pgws_ExecutorStart(QueryDesc *queryDesc, int eflags); static void pgws_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, uint64 count -#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000 ,bool execute_once -#endif ); static void pgws_ExecutorFinish(QueryDesc *queryDesc); static void pgws_ExecutorEnd(QueryDesc *queryDesc); @@ -1005,9 +1003,7 @@ static void pgws_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, uint64 count -#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000 ,bool execute_once -#endif ) { int i = MyProc - ProcGlobal->allProcs; @@ -1017,17 +1013,9 @@ pgws_ExecutorRun(QueryDesc *queryDesc, PG_TRY(); { if (prev_ExecutorRun) -#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000 prev_ExecutorRun(queryDesc, direction, count, execute_once); -#else - prev_ExecutorRun(queryDesc, direction, count); -#endif else -#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000 standard_ExecutorRun(queryDesc, direction, count, execute_once); -#else - standard_ExecutorRun(queryDesc, direction, count); -#endif nesting_level--; if (nesting_level == 0) pgws_proc_queryids[i] = UINT64CONST(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