diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-02-26 23:48:47 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-02-26 23:48:47 +0000 |
commit | 75c07d5b4d9361063502399720fce4881b0e4b7b (patch) | |
tree | 938cdca4c0d975cf815475dc5dece8e3acb8a3a7 /src/backend/executor/spi.c | |
parent | 5fb5066cb6c45add7d917c48f74f46f6fdd1544d (diff) |
Back-patch fix for command completion report handling. This is
primarily needed so that INSERTing a row still reports the row's OID
even when there are ON INSERT rules firing additional queries.
Diffstat (limited to 'src/backend/executor/spi.c')
-rw-r--r-- | src/backend/executor/spi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c index b9ab6422658..89c2def41d8 100644 --- a/src/backend/executor/spi.c +++ b/src/backend/executor/spi.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/spi.c,v 1.65 2002/02/14 15:24:08 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/spi.c,v 1.65.2.1 2002/02/26 23:48:40 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1011,7 +1011,7 @@ _SPI_execute(char *src, int tcount, _SPI_plan *plan) res = SPI_OK_UTILITY; if (plan == NULL) { - ProcessUtility(queryTree->utilityStmt, None); + ProcessUtility(queryTree->utilityStmt, None, NULL); if (!islastquery) CommandCounterIncrement(); else @@ -1085,7 +1085,7 @@ _SPI_execute_plan(_SPI_plan *plan, Datum *Values, char *Nulls, int tcount) if (queryTree->commandType == CMD_UTILITY) { - ProcessUtility(queryTree->utilityStmt, None); + ProcessUtility(queryTree->utilityStmt, None, NULL); if (!islastquery) CommandCounterIncrement(); else |