Skip to content

Conversation

@ZeyuRemtes
Copy link

column of comments plz

s.clauses[ColumnsNumericScale],
s.clauses[ColumnsNumericPrecRadix],
s.clauses[ColumnsCharOctetLength],
"COLUMN_COMMENT",
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't work with PostgreSQL. It needs to be optional, configurable in specific drivers, same as other clauses above:

% go test github.com/xo/usql/drivers/metadata/informationschema/ -cleanup=0
2024/04/13 19:16:23 Could not read pgsql columns: pq: column "column_comment" does not exist
FAIL	github.com/xo/usql/drivers/metadata/informationschema	6.947s
FAIL

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