summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/dbmirror/pending.c4
-rw-r--r--src/pl/plpython/plpython.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/dbmirror/pending.c b/contrib/dbmirror/pending.c
index 82aaffa15e9..4164704abe3 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 78b23a1a25c..ca739ad74c8 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();