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

support postgresql 15 #180

Merged
merged 2 commits into from
Sep 30, 2024
Merged

support postgresql 15 #180

merged 2 commits into from
Sep 30, 2024

Commits on Sep 30, 2024

  1. Add unmodified ruleutils source files from PG15

    This vendors in the PG15 version of the ruleutils.c file from Postgres.
    We've done the same already for PG16 and PG17 in e963297, but now in
    preparation of PG15 support we also include the PG15 version.
    Leo-XM-Zeng authored and JelteF committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    61fa688 View commit details
    Browse the repository at this point in the history
  2. Add PG15 support

    This applies changes to pg_ruleutils_15.c that are identical to the ones
    that we already made to the PG16 and PG17 versions of these files.
    
    It also notably removes tests involving the psql \bind meta-command,
    because those meta-commands are unsupported by PG15 its psql. This is
    acceptable because we
    
    Other than that this mainly adds a bunch of #if PG_VERSION_NUM >= 160000
    preprocessor statements in places where APIs diverge between versions.
    Leo-XM-Zeng authored and JelteF committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e889d9a View commit details
    Browse the repository at this point in the history