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 partitioned indexes in PostgreSQL 11+ #37585

Merged
merged 1 commit into from
Feb 6, 2020
Merged

Add support for partitioned indexes in PostgreSQL 11+ #37585

merged 1 commit into from
Feb 6, 2020

Commits on Feb 6, 2020

  1. This PR adds support to retrieve partitioned indexes when asking for

    indexes in a table.
    
    Currently the pg_class catalog is filtered out to retrieve the indexes in a
    table by its relkind value. Which in versions lower than 11 of PostgreSQL
    is always `i` (lower case). But since version 11, PostgreSQL
    supports partitioned indexes referenced with a relkind value of `I`
    (upper case). This makes any feature within the current code base to exclude those
    partitioned indexes.
    
    The solution proposed is to make use of the `IN` clause to filter those
    relkind values of `i` and/or `I` when retrieving a table indexes.
    sebastian-palma committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    db6eb84 View commit details
    Browse the repository at this point in the history