sql: pg_typeof builtin should include type information from column definition #58252
Labels
A-sql-typing
SQLtype inference, typing rules, type compatibility.
A-tools-efcore
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
Postgres:
But in CockroachDB, the function reports the type of the datum used internally in the SQL execution engine. The type information is only added later when sending data over the wire.
The execution engine doesn't have access to the real type information. The
pg_typeof
builtin operates on Datums, which only can be one of a few "canonical types."Epic CRDB-2474
Jira issue: CRDB-3415
The text was updated successfully, but these errors were encountered: