Skip to content

Conversation

@wjhdec
Copy link

@wjhdec wjhdec commented Jan 6, 2026

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
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