Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgres 18 support #50

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading