Fix breakage introduced in plpgsql CONTINUE patch.
authorTom Lane
Thu, 28 Jul 2005 00:26:30 +0000 (00:26 +0000)
committerTom Lane
Thu, 28 Jul 2005 00:26:30 +0000 (00:26 +0000)
Per Kevin McArthur.

src/pl/plpgsql/src/pl_exec.c

index 356210ccb36bd4938779ae5ff938d1bae8458c04..837146c8bd5a53e2550d4e4b08309283e7227f31 100644 (file)
@@ -3,7 +3,7 @@
  *           procedural language
  *
  * IDENTIFICATION
- *   $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.149 2005/06/26 22:05:42 tgl Exp $
+ *   $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.150 2005/07/28 00:26:30 tgl Exp $
  *
  *   This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -1143,7 +1143,7 @@ exec_stmt_getdiag(PLpgSQL_execstate *estate, PLpgSQL_stmt_getdiag *stmt)
    {
        PLpgSQL_diag_item   *diag_item = (PLpgSQL_diag_item *) lfirst(lc);
        PLpgSQL_datum       *var;
-       bool                 isnull;
+       bool                 isnull = false;
 
        if (diag_item->target <= 0)
            continue;
@@ -1434,7 +1434,7 @@ exec_stmt_fori(PLpgSQL_execstate *estate, PLpgSQL_stmt_fori *stmt)
            }
            else
            {
-               /*
+               /*
                 * otherwise, this is a named continue that does not
                 * match the current statement's label, if any: return
                 * RC_CONTINUE so that the CONTINUE will propagate up