cockroachdb / cockroachdb/cockroach

sql: support ANYENUM polymorphic type

Open
#123,048 0 comments 0 reactions 0 assignees View on GitHub
C-enhancement docs-done docs-known-limitation T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Postgres allows routine parameters and return types to be declared using the `ANYENUM` polymorphic type, which is able to match any enum type. This issue tracks adding support for this feature. PG docs: https://www.postgresql.org/docs/current/extend-type-system.html#EXTEND-TYPES-POLYMORPHIC

Jira issue: CRDB-38179

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.