Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit410a372

Browse files
committed
Forgot to handle the new SPI_OK_REWRITTEN result code in a couple places.
1 parent94136d5 commit410a372

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
caseSPI_OK_UPDATE_RETURNING:
29502950
caseSPI_OK_DELETE_RETURNING:
29512951
caseSPI_OK_UTILITY:
2952+
caseSPI_OK_REWRITTEN:
29522953
break;
29532954

29542955
case0:

‎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
caseSPI_OK_UTILITY:
1828+
caseSPI_OK_REWRITTEN:
18281829
if (tuptable==NULL)
18291830
{
18301831
Tcl_SetResult(interp,"0",TCL_STATIC);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp