]> granicus.if.org Git - postgresql/commit
Add function name to PyArg_ParseTuple()
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 27 Oct 2016 16:00:00 +0000 (12:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 27 Oct 2016 19:41:29 +0000 (15:41 -0400)
commiteaed88ce120746b3004225252f52d8c79fea2f58
tree2641cd6cc2ab19ff68e6f538a3ca764ea09b43de
parent84d457edaf4b3a1e10fd9e100e8ca18c042ad30c
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.
src/pl/plpython/plpy_cursorobject.c
src/pl/plpython/plpy_planobject.c
src/pl/plpython/plpy_plpymodule.c
src/pl/plpython/plpy_spi.c