diff --git a/contrib/dbmirror/pending.c b/contrib/dbmirror/pending.c index 82aaffa15e98185413a2d48d11a9cff197c987c6..4164704abe35094d8a5516c43d014c7c8709b8a6 100644 --- a/contrib/dbmirror/pending.c +++ b/contrib/dbmirror/pending.c @@ -1,6 +1,6 @@ /**************************************************************************** * pending.c - * $Id: pending.c,v 1.2 2002/09/04 20:31:06 momjian Exp $ + * $Id: pending.c,v 1.3 2002/09/04 22:49:22 petere Exp $ * * This file contains a trigger for Postgresql-7.x to record changes to tables * to a pending table for mirroring. @@ -67,7 +67,7 @@ recordchange(PG_FUNCTION_ARGS) HeapTuple afterTuple = NULL; HeapTuple retTuple = NULL; char *tblname; - char op; + char op = 0; if (fcinfo->context != NULL) { diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c index 78b23a1a25cabc0a84083680d34fb9b8e647dfff..ca739ad74c8aee14ee3fd961fa43501c5635e862 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.21 2002/09/04 20:31:48 momjian Exp $ + * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.22 2002/09/04 22:51:23 petere Exp $ * ********************************************************************* */ @@ -381,7 +381,7 @@ plpython_call_handler(PG_FUNCTION_ARGS) { DECLARE_EXC(); Datum retval; - bool is_trigger; + volatile bool is_trigger; PLyProcedure *volatile proc = NULL; enter();