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

Commitd657843

Browse files
committed
Remove the placeholder LWLockId in place of the removed FreeSpaceLock.
As pointed out by ITAGAKI Takahiro, we split SInvalLock into two in 8.4,so to keep the numbers of the rest of the locks unchanged from 8.3, wedon't need a placeholder.
1 parentfd9e2ac commitd657843

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎src/include/storage/lwlock.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/storage/lwlock.h,v 1.41 2009/01/01 17:24:01 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/storage/lwlock.h,v 1.42 2009/03/03 08:11:24 heikki Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -36,9 +36,9 @@
3636
* The extra value MaxDynamicLWLock is there to keep the compiler from
3737
* deciding that the enum can be represented as char or short ...
3838
*
39-
* If you remove a lock, please replace it with a placeholder like was done
40-
*for FreeSpaceMapLock. This retainsthe lock numbering, which is helpful for
41-
*DTrace and other externaldebugging scripts.
39+
* If you remove a lock, please replace it with a placeholder. This retains
40+
* the lock numbering, which is helpful for DTrace and other external
41+
* debugging scripts.
4242
*/
4343
typedefenumLWLockId
4444
{
@@ -49,7 +49,6 @@ typedef enum LWLockId
4949
ProcArrayLock,
5050
SInvalReadLock,
5151
SInvalWriteLock,
52-
UnusedLock1,/* FreeSpaceMapLock used to be here */
5352
WALInsertLock,
5453
WALWriteLock,
5554
ControlFileLock,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp