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

Add support for PostgreSQL 17 #92

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Add support for PostgreSQL 17 #92

merged 1 commit into from
Jul 31, 2024

Commits on Jul 31, 2024

  1. Add support for PostgreSQL 17

    Compilation errors and warning are fixed.
    
    The design of create_immv is also chaned as similar to PG17, that is,
    firstly a relation is created without data then it is populated
    by using the refresh logic.
    
    This commit contains the following changes:
    
     - Change functions to use a safe search_path during maintenance operations
       when used with PostgreSQL 17
    
      This prevents maintenance operations (automatic maintenance of IMMVs and
      refresh_immv) from performing unsafe access.  Functions used by IMMVs that
      need to reference non-default schemas must specify a search path during
      function creation.
    
     - refresh_immv can be executed by users with the MAINTAIN privilege
       when used with PostgreSQL 17
    
    Issue #90
    yugo-n committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    d702c80 View commit details
    Browse the repository at this point in the history