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

Commit1cc97d1

Browse files
committed
Make _SPI_execute_plan pass the query source string down to ProcessUtility
if possible. I had left this undone in the first pass at the API changefor ProcessUtility, but forgot to revisit it after the plancache changesmade it possible to do it.
1 parentbf82365 commit1cc97d1

File tree

1 file changed

+2
-2
lines changed
  • src/backend/executor

1 file changed

+2
-2
lines changed

‎src/backend/executor/spi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/executor/spi.c,v 1.174 2007/03/25 23:27:59 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/executor/spi.c,v 1.175 2007/03/25 23:42:43 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1548,7 +1548,7 @@ _SPI_execute_plan(SPIPlanPtr plan, Datum *Values, const char *Nulls,
15481548
else
15491549
{
15501550
ProcessUtility(stmt,
1551-
NULL,/* XXX provide query string? */
1551+
plansource->query_string,
15521552
paramLI,
15531553
false,/* not top level */
15541554
dest,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp