Skip to content

Commit a0a9ba2

Browse files
EliSauderCopilot
andcommitted
feat(postgresql): record domains in the catalog
The catalog PostgreSQL is analyzed with by default ignored CREATE DOMAIN, so a plugin generating for PostgreSQL was told nothing about a domain even with the protocol able to carry it. The catalog now records each domain with its base type and whether it is declared NOT NULL, in the schema it was created in, and DROP DOMAIN removes it as DROP TYPE does. Refs sqlc-dev#4483 Co-authored-by: Copilot <[email protected]>
1 parent 1313296 commit a0a9ba2

9 files changed

Lines changed: 69064 additions & 1 deletion

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"contexts": ["base"]
3+
}

0 commit comments

Comments
 (0)