diff options
author | Heikki Linnakangas | 2009-01-21 11:13:14 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2009-01-21 11:13:14 +0000 |
commit | 8de78061ad8e27d67f903aba07005fd3790a52d6 (patch) | |
tree | e3bc140d6a19a382f538690f8f3b440dcdd78fc9 | |
parent | addd1fc7eda459ba4430d4e6a603f667e3238856 (diff) |
Forgot to handle the new SPI_OK_REWRITTEN result code in a couple places.
-rw-r--r-- | src/pl/plpgsql/src/pl_exec.c | 1 | ||||
-rw-r--r-- | src/pl/tcl/pltcl.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index 68e7941d18..a3bde05886 100644 --- a/src/pl/plpgsql/src/pl_exec.c +++ b/src/pl/plpgsql/src/pl_exec.c @@ -2949,6 +2949,7 @@ exec_stmt_dynexecute(PLpgSQL_execstate *estate, case SPI_OK_UPDATE_RETURNING: case SPI_OK_DELETE_RETURNING: case SPI_OK_UTILITY: + case SPI_OK_REWRITTEN: break; case 0: diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c index 0af81e8073..645856ebd1 100644 --- a/src/pl/tcl/pltcl.c +++ b/src/pl/tcl/pltcl.c @@ -1825,6 +1825,7 @@ pltcl_process_SPI_result(Tcl_Interp *interp, break; case SPI_OK_UTILITY: + case SPI_OK_REWRITTEN: if (tuptable == NULL) { Tcl_SetResult(interp, "0", TCL_STATIC); |