summaryrefslogtreecommitdiff
path: root/src/include/storage/lmgr.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-09-07 04:37:13 +0000
committerBruce Momjian <bruce@momjian.us>2003-09-07 04:37:13 +0000
commitc40ed5131948495a30caac2efff7927b673cd2d0 (patch)
tree4ee7a43fa571f53a370e60d0be421f4c6927c97f /src/include/storage/lmgr.h
parent432ca9116bc51f6cfe6e88be33dbe6cb078cda9d (diff)
Update this branch to match CVS head, includes WIN32 improvements.
Diffstat (limited to 'src/include/storage/lmgr.h')
-rw-r--r--src/include/storage/lmgr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/storage/lmgr.h b/src/include/storage/lmgr.h
index d7a557d2b57..8940f333fc8 100644
--- a/src/include/storage/lmgr.h
+++ b/src/include/storage/lmgr.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: lmgr.h,v 1.39 2003/08/04 02:40:14 momjian Exp $
+ * $Id: lmgr.h,v 1.39.2.1 2003/09/07 04:37:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -54,8 +54,9 @@ extern void UnlockRelation(Relation relation, LOCKMODE lockmode);
extern void LockRelationForSession(LockRelId *relid, LOCKMODE lockmode);
extern void UnlockRelationForSession(LockRelId *relid, LOCKMODE lockmode);
-/* Lock a page (mainly used for indices) */
+/* Lock a page (mainly used for indexes) */
extern void LockPage(Relation relation, BlockNumber blkno, LOCKMODE lockmode);
+extern bool ConditionalLockPage(Relation relation, BlockNumber blkno, LOCKMODE lockmode);
extern void UnlockPage(Relation relation, BlockNumber blkno, LOCKMODE lockmode);
/* Lock an XID (used to wait for a transaction to finish) */