Expose vector dimensions in PostgreSQL catalogs - #3241
Conversation
Footnotes
|
|
SummaryCoverage spans PostgreSQL-compatible type and column metadata across built-in, extension, custom, bounded, unbounded, array, renamed, shadowed, and unknown types, including edge cases around modifiers and search-path changes. It also exercises metadata consistency through table changes, views, derived columns, and concurrent catalog reads, with the underlying formatting and catalog behavior broadly healthy. Safe to merge — the sole observed issue is a medium-severity, pre-existing view metadata defect that is explicitly not attributable to this PR, with no regressions or new PR-related failures identified. It is a flag for later rather than a merge blocker. Tests run by ItoAdditional Findings DetailsThese findings are unrelated to the current changes but were observed during testing. 🟡 View columns are missing from metadata results
Evidence PackageTip Reply with @itoqa to send us feedback on this test run. |
|
@fulghum DOLT
|
|
Diff SummaryThe run covers database type formatting and catalog metadata across normal columns and derived views, including bounded and unbounded types, modifier changes, type-name resolution, schema search order, and consistency after updates. It exercises both expected behavior and edge cases involving quoted names, shadowed types, and view column discovery. Safe to merge — the tested PR behavior shows no attributable regressions or new failures. A medium-severity view metadata issue was observed, but it is an existing, unrelated application finding and is a flag for later rather than a merge blocker. Tests run by ItoAdditional Findings DetailsThese findings are unrelated to the current changes but were observed during testing. 🟡 View columns disappear from catalog metadata
Evidence PackageTip Reply with @itoqa to send us feedback on this test run. |
|
The Ito QA additional finding about view metadata is legit. Opened issue #3244 to track. |

Populate pg_attribute.atttypmod from stored column types and extend format_type() to render extension and user-defined types with PostgreSQL-compatible typmods, array spelling, quoting, and schema qualification.
Adds catalog coverage for bounded and unbounded pgvector types, dimensioned arrays, views, quoted names, and shadowed schemas. The new queries were also validated unchanged against PostgreSQL 16 with pgvector.
Fixes #3230