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

Commit82bad53

Browse files
committed
Insert CommandCounterIncrement call into SPI_cursor_open.
1 parentdcdf911 commit82bad53

File tree

1 file changed

+4
-1
lines changed
  • src/backend/executor

1 file changed

+4
-1
lines changed

‎src/backend/executor/spi.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/spi.c,v 1.62 2001/11/10 23:51:14 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/spi.c,v 1.63 2001/11/21 18:30:58 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -730,6 +730,9 @@ SPI_cursor_open(char *name, void *plan, Datum *Values, char *Nulls)
730730
elseif (queryTree->into!=NULL)
731731
elog(ERROR,"plan in SPI_cursor_open() must NOT be a SELECT INTO");
732732

733+
/* Increment CommandCounter to see changes made by now */
734+
CommandCounterIncrement();
735+
733736
/* Reset SPI result */
734737
SPI_processed=0;
735738
SPI_tuptable=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp