pgsql: Revert "PL/Python: Fix potential NULL pointer dereference"

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Revert "PL/Python: Fix potential NULL pointer dereference"
Date: 2017-11-28 18:56:18
Message-ID: E1eJl3K-0005ZX-D1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Revert "PL/Python: Fix potential NULL pointer dereference"

This reverts commit e42e2f38907681c48c43f49c5ec9f9f41a9aa9a5.

It's not safe to return in the middle of a PG_TRY block, so this will
have to be done differently.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/62546b4357f2aec46bb896fdbddfc0904a2d7920

Modified Files
--------------
src/pl/plpython/plpy_spi.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-11-28 19:16:17 pgsql: If a range-partitioned table has no default partition, reject nu
Previous Message Peter Eisentraut 2017-11-28 18:35:13 Re: pgsql: PL/Python: Fix potential NULL pointer dereference