summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorTatsuo Ishii2004-03-11 01:47:41 +0000
committerTatsuo Ishii2004-03-11 01:47:41 +0000
commit0b86ade1c2f3dcd2407e535baad1654e65252316 (patch)
treef643be1064f229e2245c30467e2d12923ba0f677 /src/include/access
parent60a068b3897a27cbb1a13a6b050d05a0ca479055 (diff)
Add NOWAIT option to LOCK command
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/heapam.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h
index 1b7e19fe073..c6579ea2462 100644
--- a/src/include/access/heapam.h
+++ b/src/include/access/heapam.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/heapam.h,v 1.86 2003/11/29 22:40:55 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/access/heapam.h,v 1.87 2004/03/11 01:47:41 ishii Exp $
*
*-------------------------------------------------------------------------
*/
@@ -129,6 +129,7 @@ extern Datum heap_getsysattr(HeapTuple tup, int attnum, bool *isnull);
/* heapam.c */
extern Relation relation_open(Oid relationId, LOCKMODE lockmode);
+extern Relation conditional_relation_open(Oid relationId, LOCKMODE lockmode, bool nowait);
extern Relation relation_openrv(const RangeVar *relation, LOCKMODE lockmode);
extern Relation relation_openr(const char *sysRelationName, LOCKMODE lockmode);
extern void relation_close(Relation relation, LOCKMODE lockmode);