Re: Fix for segfault in plpython's exception handling

Rafa de la Torre <rafael.delatorre.vega@gmail.com>

From: Rafa de la Torre <rafael.delatorre.vega@gmail.com>
To: pgsql-hackers@postgresql.org
Cc: Rafa de la Torre <rafael.delatorre.vega@gmail.com>
Date: 2016-12-12T11:35:08Z
Lists: pgsql-hackers
For the record: I tested the patch by Tom Lane in our setup (python 2.7.3-0ubuntu3.8) and works like a charm.

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=9cda81f0056ca488dbd6cded64db1238aed816b2

Also in 9.5 and 9.6 series. My request in commitfest queue can be closed. Cheers!

Commits

  1. Be more careful about Python refcounts while creating exception objects.