sql: type string literals as unknown
initially
#94718
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-queries
SQL Queries Team
Projects
In Postgres, string literals (e.g., in
SELECT 'foo'
) are typed asunknown
initially. It's type is then resolved later on based on type conversion rules of function calls, operators, and other constructs.More information on string literal typing in Postgres can be found in the docs: https://www.postgresql.org/docs/current/typeconv-overview.html
Epic CRDB-2474
Jira issue: CRDB-23099
The text was updated successfully, but these errors were encountered: