-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
A-spatialSpatial work that is *not* related to builtins.Spatial work that is *not* related to builtins.A-sql-datatypesSQL column types usable in table descriptors.SQL column types usable in table descriptors.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)docs-donedocs-known-limitation
Description
We currently do not support schema'd type names with typmods, e.g. public.geometry(linestring, 4326)
in CREATE TABLE t(g public.geometry(linestring, 4326))
. Users seeing this in v20.2 from IMPORT PGDUMP must remove the public.
to get this to work (i.e. use geometry(linestring,4326)
instead). Note public.geometry
works today.
This is because complex_type_name
does not take any optional attrs.
Metadata
Metadata
Assignees
Labels
A-spatialSpatial work that is *not* related to builtins.Spatial work that is *not* related to builtins.A-sql-datatypesSQL column types usable in table descriptors.SQL column types usable in table descriptors.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)docs-donedocs-known-limitation