Skip to content

feat: Add support for older versions of PostgreSQL#603

Open
wjhdec wants to merge 1 commit into
stephenafamo:mainfrom
wjhdec:feat_older_pg
Open

feat: Add support for older versions of PostgreSQL#603
wjhdec wants to merge 1 commit into
stephenafamo:mainfrom
wjhdec:feat_older_pg

Conversation

@wjhdec

@wjhdec wjhdec commented Jan 6, 2026

Copy link
Copy Markdown

Test Version: Postgresql 12

Before retrieving index information, first check if the pg_index table has the indnullsnotdistinct column:

  • If the column exists, read its value and write it to nulls_not_distinct;
  • If the column does not exist, handle it using PostgreSQL's default value of false.

This resolves the issue of the `indnullsnotdistinct` field being missing from the `pg_index` table in older versions of PostgreSQL.
@stephenafamo

Copy link
Copy Markdown
Owner

Nice!

Final request, add a note to CHANGELOG.md with your changes, ending with @thanks @wjhdec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants