diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-25 18:58:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-25 18:58:36 +0000 |
commit | c63a5452d8a44e087cfb5bf843e7bd555c400b04 (patch) | |
tree | 649b38d610152e5c9894210fa4be87cb4c469f30 /src/backend/tcop | |
parent | 7ab5c5b83ed118d3d42ce0250dafe760a39a4252 (diff) | |
download | postgresql-c63a5452d8a44e087cfb5bf843e7bd555c400b04.tar.gz postgresql-c63a5452d8a44e087cfb5bf843e7bd555c400b04.zip |
Get rid of ReferentialIntegritySnapshotOverride by extending Executor API
to allow es_snapshot to be set to SnapshotNow rather than a query snapshot.
This solves a bug reported by Wade Klaver, wherein triggers fired as a
result of RI cascade updates could misbehave.
Diffstat (limited to 'src/backend/tcop')
-rw-r--r-- | src/backend/tcop/pquery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/tcop/pquery.c b/src/backend/tcop/pquery.c index 83dd0d54d8d..22cb49f973b 100644 --- a/src/backend/tcop/pquery.c +++ b/src/backend/tcop/pquery.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.72 2003/08/12 18:23:21 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.73 2003/09/25 18:58:35 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -131,7 +131,7 @@ ProcessQuery(Query *parsetree, /* * Call ExecStart to prepare the plan for execution */ - ExecutorStart(queryDesc, false); + ExecutorStart(queryDesc, false, false); /* * Run the plan to completion. @@ -269,7 +269,7 @@ PortalStart(Portal portal, ParamListInfo params) /* * Call ExecStart to prepare the plan for execution */ - ExecutorStart(queryDesc, false); + ExecutorStart(queryDesc, false, false); /* * This tells PortalCleanup to shut down the executor |