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/include/nodes/execnodes.h | |
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/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 97609f58385..b40df717765 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: execnodes.h,v 1.105 2003/08/22 20:26:43 tgl Exp $ + * $Id: execnodes.h,v 1.106 2003/09/25 18:58:36 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -286,6 +286,7 @@ typedef struct EState /* Basic state for all query types: */ ScanDirection es_direction; /* current scan direction */ Snapshot es_snapshot; /* time qual to use */ + CommandId es_snapshot_cid; /* CommandId component of time qual */ List *es_range_table; /* List of RangeTableEntrys */ /* Info about target table for insert/update/delete queries: */ |