From b65cd562402ed9d3206d501cc74dc38bc421b2ce Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 10 Jan 2003 22:03:30 +0000 Subject: Read-only transactions, as defined in SQL. --- src/include/access/xact.h | 5 ++++- src/include/catalog/namespace.h | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/include') 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); -- cgit v1.2.3