From 11084c8732b6c8bf9906f859e3efdc9571fd83ca Mon Sep 17 00:00:00 2001 From: Shigeru Hanada Date: Thu, 24 Feb 2011 19:46:50 +0900 Subject: [PATCH] Fix comments. --- contrib/postgresql_fdw/postgresql_fdw.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contrib/postgresql_fdw/postgresql_fdw.c b/contrib/postgresql_fdw/postgresql_fdw.c index 7211ce4df9..fd8a4d5ed3 100644 --- a/contrib/postgresql_fdw/postgresql_fdw.c +++ b/contrib/postgresql_fdw/postgresql_fdw.c @@ -47,7 +47,7 @@ extern Datum postgresql_fdw_handler(PG_FUNCTION_ARGS); * FDW routines */ static FdwPlan *pgPlanForeignScan(Oid foreigntableid, PlannerInfo *root, - RelOptInfo *baserel); + RelOptInfo *baserel); static void pgExplainForeignScan(ForeignScanState *node, struct ExplainState *es); static void pgBeginForeignScan(ForeignScanState *node, int eflags); @@ -111,6 +111,10 @@ postgresql_fdw_handler(PG_FUNCTION_ARGS) PG_RETURN_POINTER(fdwroutine); } +/* + * pgPlanForeignScan + * Create FdwPlan for the scan + */ static FdwPlan * pgPlanForeignScan(Oid foreigntableid, PlannerInfo *root, RelOptInfo *baserel) { @@ -377,12 +381,11 @@ deparseSql(Oid foreigntableid, PlannerInfo *root, RelOptInfo *baserel) { Var *var; - /* Separete columns with comma. */ if (!first) appendStringInfoString(&sql, ", "); first = false; - /* Use "NULL" for unused columns.*/ + /* Use "NULL" for unused columns. */ foreach (lc, attr_used) { var = lfirst(lc); -- 2.39.5