1/* autogenerated from src/backend/storage/lmgr/lwlocknames.txt, do not edit */
2/* there is deliberately not an #ifndef LWLOCKNAMES_H here */
3
4#define ShmemIndexLock (&MainLWLockArray[1].lock)
5#define OidGenLock (&MainLWLockArray[2].lock)
6#define XidGenLock (&MainLWLockArray[3].lock)
7#define ProcArrayLock (&MainLWLockArray[4].lock)
8#define SInvalReadLock (&MainLWLockArray[5].lock)
9#define SInvalWriteLock (&MainLWLockArray[6].lock)
10#define WALBufMappingLock (&MainLWLockArray[7].lock)
11#define WALWriteLock (&MainLWLockArray[8].lock)
12#define ControlFileLock (&MainLWLockArray[9].lock)
13#define CheckpointLock (&MainLWLockArray[10].lock)
14#define CLogControlLock (&MainLWLockArray[11].lock)
15#define SubtransControlLock (&MainLWLockArray[12].lock)
16#define MultiXactGenLock (&MainLWLockArray[13].lock)
17#define MultiXactOffsetControlLock (&MainLWLockArray[14].lock)
18#define MultiXactMemberControlLock (&MainLWLockArray[15].lock)
19#define RelCacheInitLock (&MainLWLockArray[16].lock)
20#define CheckpointerCommLock (&MainLWLockArray[17].lock)
21#define TwoPhaseStateLock (&MainLWLockArray[18].lock)
22#define TablespaceCreateLock (&MainLWLockArray[19].lock)
23#define BtreeVacuumLock (&MainLWLockArray[20].lock)
24#define AddinShmemInitLock (&MainLWLockArray[21].lock)
25#define AutovacuumLock (&MainLWLockArray[22].lock)
26#define AutovacuumScheduleLock (&MainLWLockArray[23].lock)
27#define SyncScanLock (&MainLWLockArray[24].lock)
28#define RelationMappingLock (&MainLWLockArray[25].lock)
29#define AsyncCtlLock (&MainLWLockArray[26].lock)
30#define AsyncQueueLock (&MainLWLockArray[27].lock)
31#define SerializableXactHashLock (&MainLWLockArray[28].lock)
32#define SerializableFinishedListLock (&MainLWLockArray[29].lock)
33#define SerializablePredicateLockListLock (&MainLWLockArray[30].lock)
34#define OldSerXidLock (&MainLWLockArray[31].lock)
35#define SyncRepLock (&MainLWLockArray[32].lock)
36#define BackgroundWorkerLock (&MainLWLockArray[33].lock)
37#define DynamicSharedMemoryControlLock (&MainLWLockArray[34].lock)
38#define AutoFileLock (&MainLWLockArray[35].lock)
39#define ReplicationSlotAllocationLock (&MainLWLockArray[36].lock)
40#define ReplicationSlotControlLock (&MainLWLockArray[37].lock)
41#define CommitTsControlLock (&MainLWLockArray[38].lock)
42#define CommitTsLock (&MainLWLockArray[39].lock)
43#define ReplicationOriginLock (&MainLWLockArray[40].lock)
44#define MultiXactTruncationLock (&MainLWLockArray[41].lock)
45#define OldSnapshotTimeMapLock (&MainLWLockArray[42].lock)
46#define LogicalRepWorkerLock (&MainLWLockArray[43].lock)
47#define CLogTruncationLock (&MainLWLockArray[44].lock)
48
49#define NUM_INDIVIDUAL_LWLOCKS 45
50