postgres.git / summary / log / commit / refs
commit 010c6504cb06df3de4c75828d49aa8c0507f1e0d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon Aug 04 01:57:58 2003 +0000
First released in: 7.4
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 bc00f468561..ace8fd98c9a 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();
}
[parent: 089003fb462f]