aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/valid.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-08-27 21:50:29 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-08-27 21:50:29 +0000
commit5a8820efcd9ae853de8ae711412218c7059d3358 (patch)
treee571607fed769b3b6fd3e0bd99d1daac7d193ebe /src/include/access/valid.h
parent9247b29228c05e1e368c14d339fcbabeb27b426b (diff)
downloadpostgresql-5a8820efcd9ae853de8ae711412218c7059d3358.tar.gz
postgresql-5a8820efcd9ae853de8ae711412218c7059d3358.zip
Moved from backend/access to include/access
Diffstat (limited to 'src/include/access/valid.h')
-rw-r--r--src/include/access/valid.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/include/access/valid.h b/src/include/access/valid.h
new file mode 100644
index 00000000000..5088c7f8db1
--- /dev/null
+++ b/src/include/access/valid.h
@@ -0,0 +1,37 @@
+/*-------------------------------------------------------------------------
+ *
+ * valid.h--
+ * POSTGRES tuple qualification validity definitions.
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: valid.h,v 1.1 1996/08/27 21:50:28 scrappy Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef VALID_H
+#define VALID_H
+
+#include "c.h"
+#include "access/skey.h"
+#include "storage/buf.h"
+#include "utils/tqual.h"
+#include "access/tupdesc.h"
+#include "utils/rel.h"
+#include "storage/bufpage.h"
+
+/* ----------------
+ * extern decl's
+ * ----------------
+ */
+
+extern bool heap_keytest(HeapTuple t, TupleDesc tupdesc,
+ int nkeys, ScanKey keys);
+
+extern HeapTuple heap_tuple_satisfies(ItemId itemId, Relation relation,
+ PageHeader disk_page, TimeQual qual, int nKeys, ScanKey key);
+
+extern bool TupleUpdatedByCurXactAndCmd(HeapTuple t);
+
+#endif /* VALID_H */