-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: support custom/user-defined base scalar (primitive) types #27793
Copy link
Copy link
Open
Labels
A-sql-datatypesSQL column types usable in table descriptors.SQL column types usable in table descriptors.A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLC-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)X-anchored-telemetryThe issue number is anchored by telemetry references.The issue number is anchored by telemetry references.
Metadata
Metadata
Assignees
Labels
A-sql-datatypesSQL column types usable in table descriptors.SQL column types usable in table descriptors.A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLC-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)X-anchored-telemetryThe issue number is anchored by telemetry references.The issue number is anchored by telemetry references.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Special case of #25123.
Postgres'
CREATE TYPEstatement can be used to add a new primitive type that is not defined based on other types. Instead the type is defined using external I/O functions that are provided in an unspecified manner, typically using primitives linked into the database via a separate programming language.https://www.postgresql.org/docs/10/static/sql-createtype.html#id-1.9.3.90.5.8
Special note:
Jira issue: CRDB-4942