-
Notifications
You must be signed in to change notification settings - Fork 556
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
cannot save query with LIKE operator #865
Comments
Try this:
NOTE: The double percent is used to escaping |
jrib
pushed a commit
to jrib/pgspecial
that referenced
this issue
May 15, 2018
Users can already use parameters with "$N". This makes it so that users do not need to escape "%" with "%%" when using named queries. See dbcli/pgcli#865.
jrib
pushed a commit
to jrib/pgspecial
that referenced
this issue
May 15, 2018
Users can already use parameters with "$N". This makes it so that users do not need to escape "%" with "%%" when using named queries. See dbcli/pgcli#865.
This issue has been fixed a while back. Can you try upgrading pgcli?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I want to save a simple query that uses a LIKE operator. I can save it. But at call it returns "Bad arguments". I assume is trying to interpret the % on the query as parameters. But that is not what I want.
Your environment
The text was updated successfully, but these errors were encountered: