Skip to content

Commit 337b513

Browse files
committed
Fix user locks. Broken some time ago for all platforms by Windows-related
changes.
1 parent 51d7e25 commit 337b513

File tree

1 file changed

+4
-1
lines changed
  • src/backend/storage/lmgr

1 file changed

+4
-1
lines changed

src/backend/storage/lmgr/lock.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/storage/lmgr/lock.c,v 1.135 2004/07/17 03:28:51 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/lmgr/lock.c,v 1.136 2004/08/26 17:23:30 tgl Exp $
1212
*
1313
* NOTES
1414
* Outside modules can create a lock table and acquire/release
@@ -337,6 +337,9 @@ LockMethodTableRename(LOCKMETHODID lockmethodid)
337337
NumLockMethods++;
338338

339339
LockMethods[newLockMethodId] = LockMethods[lockmethodid];
340+
LockMethodLockHash[newLockMethodId] = LockMethodLockHash[lockmethodid];
341+
LockMethodProcLockHash[newLockMethodId] = LockMethodProcLockHash[lockmethodid];
342+
340343
return newLockMethodId;
341344
}
342345

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy