User-defined composite types are not introspectable #121161
Labels
A-sql-datatypes
SQL column types usable in table descriptors.
A-sql-pgcatalog
A-sql-pgcompat
Semantic compatibility with PostgreSQL
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
X-blathers-triaged
blathers was able to find an owner
Projects
Describe the problem
Composite types defined via
CREATE TYPE
are only mentioned inpg_catalog.pg_type
.I would have expected to be able to find:
pg_catalog.pg_type
for the type, havingtyptype = 'c'
and linking topg_class
viatyprelid
pg_catalog.pg_class
for the type, havingrelkind = 'c'
pg_catalog.pg_attribute
for each column/field of the type, linking to the row inpg_class
viaattrelid
To Reproduce
(See below)
Expected behavior
Environment:
Additional context
Jira issue: CRDB-37102
The text was updated successfully, but these errors were encountered: