Obsolete comment in postgres_fdw.c
Started by Etsuro Fujitaalmost 5 years ago2 messages
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;