summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2003-08-04 01:57:58 +0000
committerTom Lane2003-08-04 01:57:58 +0000
commit010c6504cb06df3de4c75828d49aa8c0507f1e0d (patch)
tree5dc2546ef3f47ba066fa1306377b75f9b53a23f8
parent089003fb462fcce46c02bf47322b429f73c33c50 (diff)
Put back braces removed by pgindent (not really pgindent's fault).
-rw-r--r--src/pl/plpython/plpython.c5
1 files changed, 4 insertions, 1 deletions
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();
}