mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
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.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
*
|
||||
* spi.h
|
||||
*
|
||||
* $Id: spi.h,v 1.37 2003/08/04 00:43:31 momjian Exp $
|
||||
* $Id: spi.h,v 1.38 2003/09/25 18:58:36 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -84,6 +84,8 @@ extern void SPI_pop(void);
|
||||
extern int SPI_exec(const char *src, int tcount);
|
||||
extern int SPI_execp(void *plan, Datum *values, const char *Nulls,
|
||||
int tcount);
|
||||
extern int SPI_execp_now(void *plan, Datum *values, const char *Nulls,
|
||||
int tcount);
|
||||
extern void *SPI_prepare(const char *src, int nargs, Oid *argtypes);
|
||||
extern void *SPI_saveplan(void *plan);
|
||||
extern int SPI_freeplan(void *plan);
|
||||
|
Reference in New Issue
Block a user