Content-Length: 256065 | pFad | http://github.com/postgrespro/postgres/commit/7954bc5ecb888a5e2f374871685c8a43546c328d

09 Fix typo in comment · postgrespro/postgres@7954bc5 · GitHub
Skip to content

Commit 7954bc5

Browse files
committed
Fix typo in comment
SLRU_SEGMENTS_PER_PAGE -> SLRU_PAGES_PER_SEGMENT I introduced this ancient typo in subtrans.c and later propagated it to multixact.c. I fixed the latter in f741300, but only back to 9.3; backpatch to all supported branches for consistency.
1 parent a800267 commit 7954bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/7954bc5ecb888a5e2f374871685c8a43546c328d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy