From 010c6504cb06df3de4c75828d49aa8c0507f1e0d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 4 Aug 2003 01:57:58 +0000 Subject: [PATCH] Put back braces removed by pgindent (not really pgindent's fault). --- src/pl/plpython/plpython.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c index bc00f46856..ace8fd98c9 100644 --- a/src/pl/plpython/plpython.c +++ b/src/pl/plpython/plpython.c @@ -29,7 +29,7 @@ * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.37 2003/08/04 00:43:33 momjian Exp $ + * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.38 2003/08/04 01:57:58 tgl Exp $ * ********************************************************************* */ @@ -352,7 +352,10 @@ plpython_call_handler(PG_FUNCTION_ARGS) else PLy_restart_in_progress += 1; if (proc) + { + /* note: Py_DECREF needs braces around it, as of 2003/08 */ Py_DECREF(proc->me); + } RERAISE_EXC(); } -- 2.11.0