diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-03-26 16:20:48 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-03-26 16:20:48 +0000 |
commit | d43b085d578148f8dec2fea774912103e2f3044f (patch) | |
tree | 1be5ecca422dfe036fe9624355b4c952e7a8bc61 /src/backend/utils/adt/ri_triggers.c | |
parent | 2d7705e85e22c8798fe70234aed8161ed84fdaa8 (diff) | |
download | postgresql-d43b085d578148f8dec2fea774912103e2f3044f.tar.gz postgresql-d43b085d578148f8dec2fea774912103e2f3044f.zip |
Separate snapshot management code from tuple visibility code, create a
snapmgmt.c file for the former. The header files have also been reorganized
in three parts: the most basic snapshot definitions are now in a new file
snapshot.h, and the also new snapmgmt.h keeps the definitions for snapmgmt.c.
tqual.h has been reduced to the bare minimum.
This patch is just a first step towards managing live snapshots within a
transaction; there is no functionality change.
Per my proposal to pgsql-patches on 20080318191940.GB27458@alvh.no-ip.org and
subsequent discussion.
Diffstat (limited to 'src/backend/utils/adt/ri_triggers.c')
-rw-r--r-- | src/backend/utils/adt/ri_triggers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/adt/ri_triggers.c b/src/backend/utils/adt/ri_triggers.c index 65f541057ba..d9bdf121cc0 100644 --- a/src/backend/utils/adt/ri_triggers.c +++ b/src/backend/utils/adt/ri_triggers.c @@ -15,7 +15,7 @@ * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/backend/utils/adt/ri_triggers.c,v 1.104 2008/02/18 23:00:32 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/ri_triggers.c,v 1.105 2008/03/26 16:20:47 alvherre Exp $ * * ---------- */ @@ -41,6 +41,7 @@ #include "utils/fmgroids.h" #include "utils/lsyscache.h" #include "utils/memutils.h" +#include "utils/snapmgmt.h" /* ---------- |