This project is archived and is in readonly mode.
[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
-
Daniele Varrazzo December 18th, 2010 @ 02:45 PM
- 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 December 18th, 2010 @ 03:17 PM
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 December 18th, 2010 @ 04:28 PM
- 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 ยป
<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
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.