diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-04-14 12:12:18 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-04-14 12:12:18 -0300 |
commit | 7954bc5ecb888a5e2f374871685c8a43546c328d (patch) | |
tree | 3f2e35ac9e3d5091fcc4cf180d742868a800b068 | |
parent | a800267e46781b0eebd43db8150ca558c9f687c6 (diff) | |
download | postgresql-7954bc5ecb888a5e2f374871685c8a43546c328d.tar.gz postgresql-7954bc5ecb888a5e2f374871685c8a43546c328d.zip |
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 f741300c, but only back to 9.3;
backpatch to all supported branches for consistency.
-rw-r--r-- | src/backend/access/transam/subtrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/subtrans.c b/src/backend/access/transam/subtrans.c index 1453418d5bd..1c8b52b33f8 100644 --- a/src/backend/access/transam/subtrans.c +++ b/src/backend/access/transam/subtrans.c @@ -42,7 +42,7 @@ * Note: because TransactionIds are 32 bits and wrap around at 0xFFFFFFFF, * SubTrans page numbering also wraps around at * 0xFFFFFFFF/SUBTRANS_XACTS_PER_PAGE, and segment numbering at - * 0xFFFFFFFF/SUBTRANS_XACTS_PER_PAGE/SLRU_SEGMENTS_PER_PAGE. We need take no + * 0xFFFFFFFF/SUBTRANS_XACTS_PER_PAGE/SLRU_PAGES_PER_SEGMENT. We need take no * explicit notice of that fact in this module, except when comparing segment * and page numbers in TruncateSUBTRANS (see SubTransPagePrecedes). */ |