diff --git a/src/backend/storage/lmgr/lmgr.c b/src/backend/storage/lmgr/lmgr.c
index d8da2e60ad5dad00e74358380cf3bf3de3a364bc..f7ab4acffb4cf2850d40f1c8bbd4f42abca0de71 100644
--- a/src/backend/storage/lmgr/lmgr.c
+++ b/src/backend/storage/lmgr/lmgr.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lmgr.c,v 1.25 1999/05/25 22:42:01 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lmgr.c,v 1.26 1999/05/31 01:48:13 vadim Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -322,6 +322,7 @@ XactLockTableWait(TransactionId xid)
 	tag.objId.xid = xid;
 
 	LockAcquire(LockTableId, &tag, ShareLock);
+	LockRelease(LockTableId, &tag, ShareLock);
 
 	TransactionIdFlushCache();