fix list of LWLocks (add XL-specific locks)
authorTomas Vondra <[email protected]>
Mon, 7 Nov 2016 19:34:15 +0000 (20:34 +0100)
committerTomas Vondra <[email protected]>
Mon, 7 Nov 2016 19:34:15 +0000 (20:34 +0100)
Originally the locks were only added conditionally using #ifdef, but
as the list was moved to a text file (from a header), that's no
longer possible. Which is probably for the better anyway.

src/backend/storage/lmgr/lwlocknames.txt

index f8996cd21a552089d08978936cd7418f9232aee9..b7c7c7d49c5133762dc4650263cb2cd424c845cb 100644 (file)
@@ -47,3 +47,7 @@ CommitTsLock                                          39
 ReplicationOriginLock                          40
 MultiXactTruncationLock                                41
 OldSnapshotTimeMapLock                         42
+BarrierLock                                                    43
+NodeTableLock                                          44
+SQueuesLock                                                    45
+ClusterMonitorLock                                     46