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

Commit42f5227

Browse files
committed
Fix typo in comment
SLRU_SEGMENTS_PER_PAGE -> SLRU_PAGES_PER_SEGMENTI introduced this ancient typo in subtrans.c and later propagated it tomultixact.c. I fixed the latter inf741300, but only back to 9.3;backpatch to all supported branches for consistency.
1 parentad2925e commit42f5227

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/access/transam/multixact.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
* Note: because both MultiXactOffsets and TransactionIds are 32 bits and
7171
* wrap around at 0xFFFFFFFF, MultiXact page numbering also wraps around at
7272
* 0xFFFFFFFF/MULTIXACT_*_PER_PAGE, and segment numbering at
73-
* 0xFFFFFFFF/MULTIXACT_*_PER_PAGE/SLRU_SEGMENTS_PER_PAGE. We need take no
73+
* 0xFFFFFFFF/MULTIXACT_*_PER_PAGE/SLRU_PAGES_PER_SEGMENT. We need take no
7474
* explicit notice of that fact in this module, except when comparing segment
7575
* and page numbers in TruncateMultiXact
7676
* (see MultiXact{Offset,Member}PagePrecedes).

‎src/backend/access/transam/subtrans.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* Note: because TransactionIds are 32 bits and wrap around at 0xFFFFFFFF,
4343
* SubTrans page numbering also wraps around at
4444
* 0xFFFFFFFF/SUBTRANS_XACTS_PER_PAGE, and segment numbering at
45-
* 0xFFFFFFFF/SUBTRANS_XACTS_PER_PAGE/SLRU_SEGMENTS_PER_PAGE. We need take no
45+
* 0xFFFFFFFF/SUBTRANS_XACTS_PER_PAGE/SLRU_PAGES_PER_SEGMENT. We need take no
4646
* explicit notice of that fact in this module, except when comparing segment
4747
* and page numbers in TruncateSUBTRANS (see SubTransPagePrecedes).
4848
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp