diff options
Diffstat (limited to 'src/backend/access/transam')
-rw-r--r-- | src/backend/access/transam/slru.c | 6 | ||||
-rw-r--r-- | src/backend/access/transam/xlogreader.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/access/transam/slru.c b/src/backend/access/transam/slru.c index 2a42f31ec2a..71ac70fb40c 100644 --- a/src/backend/access/transam/slru.c +++ b/src/backend/access/transam/slru.c @@ -809,7 +809,7 @@ SlruPhysicalWritePage(SlruCtl ctl, int pageno, int slotno, SlruWriteAll fdata) } /* - * During a WriteAll, we may already have the desired file open. + * During a SimpleLruWriteAll, we may already have the desired file open. */ if (fdata) { @@ -864,7 +864,7 @@ SlruPhysicalWritePage(SlruCtl ctl, int pageno, int slotno, SlruWriteAll fdata) else { /* - * In the unlikely event that we exceed MAX_FLUSH_BUFFERS, + * In the unlikely event that we exceed MAX_WRITEALL_BUFFERS, * fall back to treating it as a standalone write. */ fdata = NULL; @@ -1478,7 +1478,7 @@ SlruPagePrecedesTestOffset(SlruCtl ctl, int per_page, uint32 offset) * * This assumes every uint32 >= FirstNormalTransactionId is a valid key. It * assumes each value occupies a contiguous, fixed-size region of SLRU bytes. - * (MultiXactMemberCtl separates flags from XIDs. AsyncCtl has + * (MultiXactMemberCtl separates flags from XIDs. NotifyCtl has * variable-length entries, no keys, and no random access. These unit tests * do not apply to them.) */ diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c index cadea21b376..631f260f791 100644 --- a/src/backend/access/transam/xlogreader.c +++ b/src/backend/access/transam/xlogreader.c @@ -1476,7 +1476,7 @@ err: } /* - * Helper function to ease writing of XLogRoutine->page_read callbacks. + * Helper function to ease writing of XLogReaderRoutine->page_read callbacks. * If this function is used, caller must supply a segment_open callback in * 'state', as that is used here. * @@ -1513,7 +1513,7 @@ WALRead(XLogReaderState *state, /* * If the data we want is not in a segment we have open, close what we * have (if anything) and open the next one, using the caller's - * provided openSegment callback. + * provided segment_open callback. */ if (state->seg.ws_file < 0 || !XLByteInSeg(recptr, state->seg.ws_segno, state->segcxt.ws_segsize) || |