Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit337b513

Browse files
committed
Fix user locks. Broken some time ago for all platforms by Windows-related
changes.
1 parent51d7e25 commit337b513

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
returnnewLockMethodId;
341344
}
342345

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp