summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2003-01-10 22:03:30 +0000
committerPeter Eisentraut <peter_e@gmx.net>2003-01-10 22:03:30 +0000
commitb65cd562402ed9d3206d501cc74dc38bc421b2ce (patch)
treeea76281e366d937c8d089f3029c894af33cad734 /src/include
parentb7ca9bdf187887e8e4636ecf117ffc7837f15dbe (diff)
Read-only transactions, as defined in SQL.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/xact.h5
-rw-r--r--src/include/catalog/namespace.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h
index fa30c3303b1..b3938c869e1 100644
--- a/src/include/access/xact.h
+++ b/src/include/access/xact.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: xact.h,v 1.48 2002/11/18 01:17:39 tgl Exp $
+ * $Id: xact.h,v 1.49 2003/01/10 22:03:30 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -29,6 +29,9 @@
extern int DefaultXactIsoLevel;
extern int XactIsoLevel;
+extern bool DefaultXactReadOnly;
+extern bool XactReadOnly;
+
/* ----------------
* transaction state structure
diff --git a/src/include/catalog/namespace.h b/src/include/catalog/namespace.h
index 8bcd4876708..efd5ae32786 100644
--- a/src/include/catalog/namespace.h
+++ b/src/include/catalog/namespace.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: namespace.h,v 1.24 2003/01/07 20:56:07 tgl Exp $
+ * $Id: namespace.h,v 1.25 2003/01/10 22:03:30 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -51,6 +51,7 @@ typedef struct _OpclassCandidateList
extern Oid RangeVarGetRelid(const RangeVar *relation, bool failOK);
extern Oid RangeVarGetCreationNamespace(const RangeVar *newRelation);
extern Oid RelnameGetRelid(const char *relname);
+extern Oid RelidGetNamespaceId(Oid relid);
extern bool RelationIsVisible(Oid relid);
extern Oid TypenameGetTypid(const char *typname);