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

sql: allow parsing of CREATE FUNCTION LANGUAGE pl/pgsql, before supporting the full grammar #96720

Closed
rafiss opened this issue Feb 7, 2023 · 0 comments · Fixed by #96726
Closed
Assignees
Labels
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

@rafiss
Copy link
Collaborator

rafiss commented Feb 7, 2023

If we could parse statements that have LANGUAGE pl/pgsql, rather than returning a syntax error, then we would be able to see them in telemetry data. We should be able to do this before supporting the pl/pgsql grammar itself. Basically, we can move the error to happen after parsing instead of during parsing.

Jira issue: CRDB-24295

@rafiss rafiss added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Feb 7, 2023
@rafiss rafiss self-assigned this Feb 7, 2023
@blathers-crl blathers-crl bot added the T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) label Feb 7, 2023
@craig craig bot closed this as completed in 0a65a4e Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

Successfully merging a pull request may close this issue.

1 participant