Skip to content

Commit

Permalink
pg18
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Dec 11, 2024
1 parent 97305e9 commit 0196f68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pg_stat_kcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ static void pgsk_ExecutorRun(QueryDesc *queryDesc,
#else
long count
#endif
#if PG_VERSION_NUM >= 100000
#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
, bool execute_once
#endif
);
Expand Down Expand Up @@ -1031,7 +1031,7 @@ pgsk_ExecutorRun(QueryDesc *queryDesc,
#else
long count
#endif
#if PG_VERSION_NUM >= 100000
#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
,bool execute_once
#endif
)
Expand All @@ -1040,13 +1040,13 @@ pgsk_ExecutorRun(QueryDesc *queryDesc,
PG_TRY();
{
if (prev_ExecutorRun)
#if PG_VERSION_NUM >= 100000
#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
#if PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 180000
standard_ExecutorRun(queryDesc, direction, count, execute_once);
#else
standard_ExecutorRun(queryDesc, direction, count);
Expand Down

0 comments on commit 0196f68

Please sign in to comment.