@ -7,7 +7,7 @@
* Portions Copyright ( c ) 1996 - 2001 , PostgreSQL Global Development Group
* Portions Copyright ( c ) 1996 - 2001 , PostgreSQL Global Development Group
* Portions Copyright ( c ) 1994 , Regents of the University of California
* Portions Copyright ( c ) 1994 , Regents of the University of California
*
*
* $ Id : lock . h , v 1.45 2001 / 02 / 22 23 : 02 : 33 momjian Exp $
* $ Id : lock . h , v 1.46 2001 / 02 / 23 18 : 28 : 46 momjian Exp $
*
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
*/
@ -79,7 +79,8 @@ typedef int LOCKMETHOD;
/*
/*
* This is the control structure for a lock table . It
* This is the control structure for a lock table . It
* lives in shared memory :
* lives in shared memory . This information is the same
* for all backends .
*
*
* lockmethod - - the handle used by the lock table ' s clients to
* lockmethod - - the handle used by the lock table ' s clients to
* refer to the type of lock table being used .
* refer to the type of lock table being used .
@ -107,7 +108,7 @@ typedef struct LOCKMETHODCTL
} LOCKMETHODCTL ;
} LOCKMETHODCTL ;
/*
/*
* Non - shared header for a lock table .
* Eack backend has a non - shared lock table header .
*
*
* lockHash - - hash table holding per - locked - object lock information
* lockHash - - hash table holding per - locked - object lock information
* holderHash - - hash table holding per - lock - holder lock information
* holderHash - - hash table holding per - lock - holder lock information