Commit 410a372a authored by Heikki Linnakangas's avatar Heikki Linnakangas

Forgot to handle the new SPI_OK_REWRITTEN result code in a couple places.

parent 94136d5a
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.230 2009/01/21 11:02:40 heikki Exp $ * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.231 2009/01/21 11:13:14 heikki Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -2949,6 +2949,7 @@ exec_stmt_dynexecute(PLpgSQL_execstate *estate, ...@@ -2949,6 +2949,7 @@ exec_stmt_dynexecute(PLpgSQL_execstate *estate,
case SPI_OK_UPDATE_RETURNING: case SPI_OK_UPDATE_RETURNING:
case SPI_OK_DELETE_RETURNING: case SPI_OK_DELETE_RETURNING:
case SPI_OK_UTILITY: case SPI_OK_UTILITY:
case SPI_OK_REWRITTEN:
break; break;
case 0: case 0:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* pltcl.c - PostgreSQL support for Tcl as * pltcl.c - PostgreSQL support for Tcl as
* procedural language (PL) * procedural language (PL)
* *
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.126 2009/01/14 20:01:52 petere Exp $ * $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.127 2009/01/21 11:13:14 heikki Exp $
* *
**********************************************************************/ **********************************************************************/
...@@ -1825,6 +1825,7 @@ pltcl_process_SPI_result(Tcl_Interp *interp, ...@@ -1825,6 +1825,7 @@ pltcl_process_SPI_result(Tcl_Interp *interp,
break; break;
case SPI_OK_UTILITY: case SPI_OK_UTILITY:
case SPI_OK_REWRITTEN:
if (tuptable == NULL) if (tuptable == NULL)
{ {
Tcl_SetResult(interp, "0", TCL_STATIC); Tcl_SetResult(interp, "0", TCL_STATIC);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment