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

allow operators to procede dollar quoted strings #764

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

proddata
Copy link
Contributor

@proddata proddata commented Feb 5, 2024

Thanks for contributing!

Before submitting your pull request please have a look at the
following checklist:

  • ran the tests (pytest)
  • all style issues addressed (flake8)
  • your changes are covered by tests
  • your changes are documented, if needed

Fixes #763
Currently string literals using dollar quoting ($js$mytext$js$) must be preceded by a whitespace character, which prevents e.g. using SET application_name=$$foo;bar$$ which is valid PostgreSQL

@amotl
Copy link

amotl commented Mar 3, 2024

Dear @andialbrecht. We are tracking this patch from another issue we are observing on our interactive database shell. Do you see any chance to have a look at it? Thanks in advance, Andreas.

@andialbrecht andialbrecht merged commit ab84201 into andialbrecht:master Mar 5, 2024
@andialbrecht
Copy link
Owner

Sorry for the delay and thanks for the contribution!

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.

Dollar quoted strings (PostgreSQL) cannot follow an operator (e.g. =$$Hello$$)
3 participants