Skip to content

Commit 410a372

Browse files
committed
Forgot to handle the new SPI_OK_REWRITTEN result code in a couple places.
1 parent 94136d5 commit 410a372

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/pl/plpgsql/src/pl_exec.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.230 2009/01/21 11:02:40 heikki Exp $
11+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.231 2009/01/21 11:13:14 heikki Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -2949,6 +2949,7 @@ exec_stmt_dynexecute(PLpgSQL_execstate *estate,
29492949
case SPI_OK_UPDATE_RETURNING:
29502950
case SPI_OK_DELETE_RETURNING:
29512951
case SPI_OK_UTILITY:
2952+
case SPI_OK_REWRITTEN:
29522953
break;
29532954

29542955
case 0:

src/pl/tcl/pltcl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* pltcl.c - PostgreSQL support for Tcl as
33
* procedural language (PL)
44
*
5-
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.126 2009/01/14 20:01:52 petere Exp $
5+
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.127 2009/01/21 11:13:14 heikki Exp $
66
*
77
**********************************************************************/
88

@@ -1825,6 +1825,7 @@ pltcl_process_SPI_result(Tcl_Interp *interp,
18251825
break;
18261826

18271827
case SPI_OK_UTILITY:
1828+
case SPI_OK_REWRITTEN:
18281829
if (tuptable == NULL)
18291830
{
18301831
Tcl_SetResult(interp, "0", TCL_STATIC);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy