-
Notifications
You must be signed in to change notification settings - Fork 392
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
some function argument names cause "InternalServerError: syntax error" #6062
Comments
msullivan
added a commit
that referenced
this issue
Sep 22, 2023
We need to make sure to quote them. Unfortunately we can't *unconditionally* quote them in quote_ident, because when referring to them as types or builtin functions they need to not be quoted. Fixes #6062.
msullivan
added a commit
that referenced
this issue
Sep 23, 2023
We need to make sure to quote them. Unfortunately we can't *unconditionally* quote them in quote_ident, because when referring to them as types or builtin functions they need to not be quoted. Fixes #6062.
msullivan
added a commit
that referenced
this issue
Sep 26, 2023
We need to make sure to quote them. Unfortunately we can't *unconditionally* quote them in quote_ident, because when referring to them as types or builtin functions they need to not be quoted. Fixes #6062.
msullivan
added a commit
that referenced
this issue
Sep 27, 2023
We need to make sure to quote them. Unfortunately we can't *unconditionally* quote them in quote_ident, because when referring to them as types or builtin functions they need to not be quoted. Fixes #6062.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to Reproduce:
Expected: a function is created
Observed:
InternalServerError: syntax error at or near "int8"
Additional triage:
The issue appears to be caused by using an argument name that matches a Postgres type that accepts a type modifier. For example, the following function declarations are handled correctly:
But the following cause an error:
Schema:
The text was updated successfully, but these errors were encountered: