[PATCH] Don't segfault when PQparameterStatus(DateStyle) returns NULL
Reported by Marti Raudsepp | December 9th, 2010 @ 03:19 PM
psycopg 2.3.0 and 2.3.1 segfault immediately upon connect to the pgbouncer pooling middleware, because (apparently) pgbouncer does not pass on the DateStyle to the client.
The attached patch fixes the issue.
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.