Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix for retrieving column metadata for Postgres < 10#6438

Merged
roji merged 1 commit into
npgsql:mainfrom
KeltorHD:main
Feb 7, 2026
Merged

Fix for retrieving column metadata for Postgres < 10#6438
roji merged 1 commit into
npgsql:mainfrom
KeltorHD:main

Conversation

@KeltorHD

@KeltorHD KeltorHD commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

I maintain a system that runs Greenplum 6 (PG 9).

After changing 450f900 , retrieving metadata returns the following error:
Снимок экрана 2026-02-06 в 19 28 57

In this case the following SQL is generated:
Снимок экрана 2026-02-06 в 19 30 48

I checked that the information_schema.columns attribute in postgres 9 can be updated without the attribute identity.
After the change, retrieving metadata works correctly.

This error is repeated in versions 9 and 10.

@roji roji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@roji roji enabled auto-merge (squash) February 7, 2026 08:15
@roji roji merged commit b4183e2 into npgsql:main Feb 7, 2026
12 checks passed
@KeltorHD

KeltorHD commented Feb 7, 2026

Copy link
Copy Markdown
Contributor Author

@roji, Should I create a pull request to the 9 and 10 version branches?

roji pushed a commit that referenced this pull request Feb 7, 2026
(cherry picked from commit b4183e2)
@roji

roji commented Feb 7, 2026

Copy link
Copy Markdown
Member

Backported to 10.0.2 via ea5c131

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