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

Fix extra quotes of identifier in ALTER database properties #583

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

VaibhaveS
Copy link
Contributor

@VaibhaveS VaibhaveS commented Dec 18, 2023

Logs

zero-length delimited identifier at or near """" 2023-12-15 09:10:12 86 ERROR pgsql.c:1949 [TARGET 10202] LINE 1: ALTER ROLE ""abc"" IN DATABASE "def" SET "searc... 2023-12-15 09:10:12 86 ERROR pgsql.c:1949 [TARGET 10202] ^ 2023-12-15 09:10:12 86 ERROR pgsql.c:19

Description

  • remove quotes from the identifier

@VaibhaveS VaibhaveS changed the title use PGEscapeIndentifier for alterdb properties remove \"%s\" In alterdb properties. Dec 18, 2023
@VaibhaveS VaibhaveS changed the title remove \"%s\" In alterdb properties. Fix extra quotes of identifier in ALTER database properties Dec 18, 2023
@dimitri dimitri merged commit 7b14081 into dimitri:main Dec 18, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants