Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

builtins: support postgre's FORMAT function #87260

Closed
knz opened this issue Sep 1, 2022 · 1 comment
Closed

builtins: support postgre's FORMAT function #87260

knz opened this issue Sep 1, 2022 · 1 comment
Labels
A-sql-builtins SQL built-in functions and semantics thereof. A-sql-pgcompat Semantic compatibility with PostgreSQL C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@knz
Copy link
Contributor

knz commented Sep 1, 2022

See:
https://www.postgresql.org/docs/14/functions-string.html#FUNCTIONS-STRING-FORMAT

This is a much simpler interface than to_char and thus would be a nice low hanging fruit to pluck.

Related to #3781.
Discussed for Piccolo ORM compatibility here: piccolo-orm/piccolo#607 (comment)

cc @rafiss

Jira issue: CRDB-19242

@knz knz added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-sql-pgcompat Semantic compatibility with PostgreSQL A-sql-builtins SQL built-in functions and semantics thereof. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Sep 1, 2022
@rafiss
Copy link
Collaborator

rafiss commented Sep 1, 2022

This is a duplicate of #68330 -- which was closed by #84107. If there's more work needed, please reopen with extra details.

@rafiss rafiss closed this as completed Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql-builtins SQL built-in functions and semantics thereof. A-sql-pgcompat Semantic compatibility with PostgreSQL C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

No branches or pull requests

2 participants