From 8a15e735be00f156a7227741c0ce88702e6de099 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 2 Nov 2020 15:14:41 +0900 Subject: Fix some grammar and typos in comments and docs The documentation fixes are backpatched down to where they apply. Author: Justin Pryzby Discussion: https://postgr.es/m/20201031020801.GD3080@telsasoft.com Backpatch-through: 9.6 --- src/backend/commands/copy.c | 6 +++--- src/backend/commands/tablecmds.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backend/commands') diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 36ddcdccdb8..115860a9d40 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -2610,9 +2610,9 @@ CopyMultiInsertInfoFlush(CopyMultiInsertInfo *miinfo, ResultRelInfo *curr_rri) /* * Trim the list of tracked buffers down if it exceeds the limit. Here we - * remove buffers starting with the ones we created first. It seems more - * likely that these older ones are less likely to be needed than ones - * that were just created. + * remove buffers starting with the ones we created first. It seems less + * likely that these older ones will be needed than the ones that were + * just created. */ while (list_length(miinfo->multiInsertBuffers) > MAX_PARTITION_BUFFERS) { diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index a29c14bf1cf..df13b72974f 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -1790,7 +1790,7 @@ ExecuteTruncateGuts(List *explicit_rels, List *relids, List *relids_logged, * * We put the ResultRelInfos in the es_opened_result_relations list, even * though we don't have a range table and don't populate the - * es_result_relations array. That's a big bogus, but it's enough to make + * es_result_relations array. That's a bit bogus, but it's enough to make * ExecGetTriggerResultRel() find them. */ estate = CreateExecutorState(); -- cgit v1.2.3