Obsolete comment in postgres_fdw.c

Started by Etsuro Fujitaalmost 5 years ago2 messages
#1Etsuro Fujita
etsuro.fujita@gmail.com
1 attachment(s)

While working on async execution, I noticed $subject. Attached is a
small patch for that.

Best regards,
Etsuro Fujita

Attachments:

fix-obsolete-comment.patchapplication/octet-stream; name=fix-obsolete-comment.patchDownload
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c
index 35b48575c5..a4babed2b0 100644
--- a/contrib/postgres_fdw/postgres_fdw.c
+++ b/contrib/postgres_fdw/postgres_fdw.c
@@ -617,8 +617,9 @@ postgresGetForeignRelSize(PlannerInfo *root,
 	fpinfo->server = GetForeignServer(fpinfo->table->serverid);
 
 	/*
-	 * Extract user-settable option values.  Note that per-table setting of
-	 * use_remote_estimate overrides per-server setting.
+	 * Extract user-settable option values.  Note that per-table settings of
+	 * use_remote_estimate and fetch_size override per-server settings of
+	 * them, respectively.
 	 */
 	fpinfo->use_remote_estimate = false;
 	fpinfo->fdw_startup_cost = DEFAULT_FDW_STARTUP_COST;
#2Etsuro Fujita
etsuro.fujita@gmail.com
In reply to: Etsuro Fujita (#1)
Re: Obsolete comment in postgres_fdw.c

On Mon, Mar 29, 2021 at 7:15 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:

While working on async execution, I noticed $subject. Attached is a
small patch for that.

Applied to all supported branches.

Best regards,
Etsuro Fujita