You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varungandhi-src
changed the title
'COMMENT ON COLUMN' does not understand that 'CREATE TYPE' introduces a table
'COMMENT ON COLUMN' does not work for attributes of custom types
Nov 22, 2024
Version
1.27.0
What happened?
sqlc does not recognize that a type created using CREATE TYPE allows comments on its attributes using COMMENT ON COLUMN.
This test also does not have coverage for this case.
https://sourcegraph.com/github.com/sqlc-dev/sqlc/-/blob/internal/endtoend/testdata/ddl_comment/postgresql/pgx/v5/schema.sql
Relevant log output
Database schema
SQL queries
n/a
Configuration
n/a
Playground URL
https://play.sqlc.dev/p/b753dfa2bcd9d8e6f836a8223b9b3d1dc665dccf2153f5fa71d5d00d7fcc1df5
What operating system are you using?
No response
What database engines are you using?
No response
What type of code are you generating?
No response
The text was updated successfully, but these errors were encountered: