We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally submitted by: nk.0@ya.ru (Konstantin Nikitin)
Here is my error log
import psycopg2 connection = psycopg2.connect("user=konstantin dbname=konstantin") cursor = connection.cursor() cursor.execute("select 1-%s from table", (2, )) cursor.fetchall() [(-1,), (-1,), (-1,), (-1,), (-1,), (-1,), (-1,), (-1,)] cursor.execute("select 1-%s from table", (-1, )) cursor.fetchall() [(1,)] cursor.execute("select 1 - %s from table", (-1, )) cursor.fetchall() [(2,), (2,), (2,), (2,), (2,), (2,), (2,), (2,)]
The text was updated successfully, but these errors were encountered:
Originally submitted by: xni
This issue is fixed in 2.4.2
dvarrazzo/psycopg@281427f
Sorry, something went wrong.
No branches or pull requests
Originally submitted by: nk.0@ya.ru (Konstantin Nikitin)
Here is my error log
The text was updated successfully, but these errors were encountered: