pgsql: Add function name to PyArg_ParseTuple()

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add function name to PyArg_ParseTuple()
Date: 2016-10-27 19:41:47
Message-ID: E1bzqYd-0005I9-G8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add function name to PyArg_ParseTuple()

This causes the supplied function name to appear in any error message,
making the error message friendlier and relieving us from having to
provide our own in some cases.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/eaed88ce120746b3004225252f52d8c79fea2f58

Modified Files
--------------
src/pl/plpython/plpy_cursorobject.c | 2 +-
src/pl/plpython/plpy_planobject.c | 3 +--
src/pl/plpython/plpy_plpymodule.c | 6 +++---
src/pl/plpython/plpy_spi.c | 2 +-
4 files changed, 6 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-10-27 22:53:48 pgsql: Remove invitation to report a bug about unknown encoding
Previous Message Robert Haas 2016-10-27 19:03:51 pgsql: If the stats collector dies during Hot Standby, restart it.