Put back braces removed by pgindent (not really pgindent's fault).
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Aug 2003 01:57:58 +0000 (01:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Aug 2003 01:57:58 +0000 (01:57 +0000)
src/pl/plpython/plpython.c

index bc00f4685619e999b3e71bd2d81a44a8bdb27177..ace8fd98c9ae9556c0fde1a6846d03ab00732d4d 100644 (file)
@@ -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();
        }