diff options
Diffstat (limited to 'src/include/storage/lock.h')
-rw-r--r-- | src/include/storage/lock.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/include/storage/lock.h b/src/include/storage/lock.h index 136299c060d..d471293b702 100644 --- a/src/include/storage/lock.h +++ b/src/include/storage/lock.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/lock.h,v 1.94 2006/03/05 15:58:59 momjian Exp $ + * $PostgreSQL: pgsql/src/include/storage/lock.h,v 1.95 2006/07/23 03:07:58 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -19,23 +19,15 @@ #include "storage/shmem.h" -/* - * Number of partitions the shared lock tables are divided into. - * - * See LockTagToPartition() if you change this. - */ -#define NUM_LOCK_PARTITIONS 16 +/* struct PGPROC is declared in proc.h, but must forward-reference it */ +typedef struct PGPROC PGPROC; -/* originally in procq.h */ typedef struct PROC_QUEUE { SHM_QUEUE links; /* head of list of PGPROC objects */ int size; /* number of entries in list */ } PROC_QUEUE; -/* struct PGPROC is declared in proc.h, but must forward-reference it */ -typedef struct PGPROC PGPROC; - /* GUC variables */ extern int max_locks_per_xact; |