summaryrefslogtreecommitdiff
path: root/src/backend/access/index/indexam.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-03-26 16:20:48 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-03-26 16:20:48 +0000
commitd43b085d578148f8dec2fea774912103e2f3044f (patch)
tree1be5ecca422dfe036fe9624355b4c952e7a8bc61 /src/backend/access/index/indexam.c
parent2d7705e85e22c8798fe70234aed8161ed84fdaa8 (diff)
downloadpostgresql-d43b085d578148f8dec2fea774912103e2f3044f.tar.gz
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/access/index/indexam.c')
-rw-r--r--src/backend/access/index/indexam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c
index e4da00e868..f1a7d8d360 100644
--- a/src/backend/access/index/indexam.c
+++ b/src/backend/access/index/indexam.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/index/indexam.c,v 1.101 2008/01/01 19:45:46 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/index/indexam.c,v 1.102 2008/03/26 16:20:46 alvherre Exp $
*
* INTERFACE ROUTINES
* index_open - open an index relation by relation OID
@@ -67,6 +67,7 @@
#include "access/transam.h"
#include "pgstat.h"
#include "utils/relcache.h"
+#include "utils/snapmgmt.h"
/* ----------------------------------------------------------------