Skip to content

Commit 6597ec9

Browse files
committed
Fix typos
1 parent bc2f43e commit 6597ec9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/backend/access/transam/clog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ TransactionIdGetStatus(TransactionId xid, XLogRecPtr *lsn)
419419
*
420420
* Testing during the PostgreSQL 9.2 development cycle revealed that on a
421421
* large multi-processor system, it was possible to have more CLOG page
422-
* requests in flight at one time than the numebr of CLOG buffers which existed
422+
* requests in flight at one time than the number of CLOG buffers which existed
423423
* at that time, which was hardcoded to 8. Further testing revealed that
424424
* performance dropped off with more than 32 CLOG buffers, possibly because
425425
* the linear buffer search algorithm doesn't scale well.

src/backend/access/transam/xloginsert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ XLogRegisterBlock(uint8 block_id, RelFileNode *rnode, ForkNumber forknum,
299299
* Add data to the WAL record that's being constructed.
300300
*
301301
* The data is appended to the "main chunk", available at replay with
302-
* XLogGetRecData().
302+
* XLogRecGetData().
303303
*/
304304
void
305305
XLogRegisterData(char *data, int len)

src/include/access/rmgrlist.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Changes to this list possibly need a XLOG_PAGE_MAGIC bump.
2525
*/
2626

27-
/* symbol name, textual name, redo, desc, startup, cleanup */
27+
/* symbol name, textual name, redo, desc, identify, startup, cleanup */
2828
PG_RMGR(RM_XLOG_ID, "XLOG", xlog_redo, xlog_desc, xlog_identify, NULL, NULL)
2929
PG_RMGR(RM_XACT_ID, "Transaction", xact_redo, xact_desc, xact_identify, NULL, NULL)
3030
PG_RMGR(RM_SMGR_ID, "Storage", smgr_redo, smgr_desc, smgr_identify, NULL, NULL)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy