From: Alvaro Herrera Date: Wed, 3 Dec 2014 14:52:15 +0000 (-0300) Subject: Fix typos X-Git-Tag: REL9_5_ALPHA1~1110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6597ec9be6a9ed50390f73235d6654ec32a0b944;p=postgresql Fix typos --- diff --git a/src/backend/access/transam/clog.c b/src/backend/access/transam/clog.c index 313bd04240..cb7ef28c47 100644 --- a/src/backend/access/transam/clog.c +++ b/src/backend/access/transam/clog.c @@ -419,7 +419,7 @@ TransactionIdGetStatus(TransactionId xid, XLogRecPtr *lsn) * * Testing during the PostgreSQL 9.2 development cycle revealed that on a * large multi-processor system, it was possible to have more CLOG page - * requests in flight at one time than the numebr of CLOG buffers which existed + * requests in flight at one time than the number of CLOG buffers which existed * at that time, which was hardcoded to 8. Further testing revealed that * performance dropped off with more than 32 CLOG buffers, possibly because * the linear buffer search algorithm doesn't scale well. diff --git a/src/backend/access/transam/xloginsert.c b/src/backend/access/transam/xloginsert.c index f1bf728c3d..f3d610f423 100644 --- a/src/backend/access/transam/xloginsert.c +++ b/src/backend/access/transam/xloginsert.c @@ -299,7 +299,7 @@ XLogRegisterBlock(uint8 block_id, RelFileNode *rnode, ForkNumber forknum, * Add data to the WAL record that's being constructed. * * The data is appended to the "main chunk", available at replay with - * XLogGetRecData(). + * XLogRecGetData(). */ void XLogRegisterData(char *data, int len) diff --git a/src/include/access/rmgrlist.h b/src/include/access/rmgrlist.h index 76a6421fb6..0fc932f84a 100644 --- a/src/include/access/rmgrlist.h +++ b/src/include/access/rmgrlist.h @@ -24,7 +24,7 @@ * Changes to this list possibly need a XLOG_PAGE_MAGIC bump. */ -/* symbol name, textual name, redo, desc, startup, cleanup */ +/* symbol name, textual name, redo, desc, identify, startup, cleanup */ PG_RMGR(RM_XLOG_ID, "XLOG", xlog_redo, xlog_desc, xlog_identify, NULL, NULL) PG_RMGR(RM_XACT_ID, "Transaction", xact_redo, xact_desc, xact_identify, NULL, NULL) PG_RMGR(RM_SMGR_ID, "Storage", smgr_redo, smgr_desc, smgr_identify, NULL, NULL)