This project is archived and is in readonly mode.
[PATCH] Don't segfault when PQparameterStatus(DateStyle) returns NULL
Reported by Marti Raudsepp | 2010-12-09 15:19:47 UTC
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
-

Daniele Varrazzo 2010-12-18 14:45:46 UTC
- State changed from new to open
Thanks for the report: will fix soon.
Sorry for the late reply: apparently lighthouse failed to send me a notification email.
-

-

Daniele Varrazzo 2010-12-18 15:17:40 UTC
Will release soon.
I've reported the email notification problem to Lighthouse. I'm really upset you've been waiting days without feedback, I'm sorry.
Thank you very much.
-

Daniele Varrazzo 2010-12-18 16:28:00 UTC
- State changed from open to resolved
- Tag set to pgbouncer
Patch applied in my repos: waiting for fog to pull and release 2.3.2.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
WARNING: the informations in this tracker are archived. Please submit new tickets or comments to the new tracker.
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.