-
Notifications
You must be signed in to change notification settings - Fork 557
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
Boolean type always show false
in OpenGaussDB
#1457
Comments
But when I use 3.3.1 version pgcli, no such problem. |
Thanks for the report. By any chance, could you try to reproduce with the following versions: 3.4.1 and 3.5.0? My guess is that it might work with pgcli 3.4.1, but fail with 3.5.0. The culprit could be the migration from psycopg2 to psycopg3 (a dependency of pgcli), which landed in pgcli 3.5.0. If you can then try to connect directly with pyscopg2 and psycopg3, that would help pinpoint the source of the issue (which could then be reported to the psycopg project itself). |
I use mac brew,it‘s not easy to rollback pgcli version。 |
I have do some test,sample code will always show false with psycopy
|
when I change version to psycopg2, new error rise.
|
Newer versions of pgcli switched from |
It's weird, same version with same code, original pgsql display right result, opengauss display wrong result, but opengauss's client |
@AndrewDi Psycopg2 dose have this problem. If you use 'B' compatibility database in opengauss, the Boolean values will return |
You do not want to switch to |
false
false
in OpenGaussDB
Description
Boolean type display error。
Your environment
When I use pgcli connect to OpenGaussDB,boolean type always show false。
The text was updated successfully, but these errors were encountered: