summaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-07-08 13:15:09 +0900
committerMichael Paquier <michael@paquier.xyz>2019-07-08 13:15:09 +0900
commit6b8548964bccd0f2e65c687d591b7345d5146bfa (patch)
tree29cddb4e0aa0bc59b02850daf6f508394f8f0ec1 /src/include/executor
parent7e9a4c5c3dca0d9637812d8991e96fc8f46800d9 (diff)
Fix inconsistencies in the code
This addresses a couple of issues in the code: - Typos and inconsistencies in comments and function declarations. - Removal of unreferenced function declarations. - Removal of unnecessary compile flags. - A cleanup error in regressplans.sh. Author: Alexander Lakhin Discussion: https://postgr.es/m/0c991fdf-2670-1997-c027-772a420c4604@gmail.com
Diffstat (limited to 'src/include/executor')
-rw-r--r--src/include/executor/executor.h2
-rw-r--r--src/include/executor/tablefunc.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h
index d056fd61513..1fb28b4596b 100644
--- a/src/include/executor/executor.h
+++ b/src/include/executor/executor.h
@@ -314,7 +314,7 @@ ExecEvalExprSwitchContext(ExprState *state,
* ExecProject
*
* Projects a tuple based on projection info and stores it in the slot passed
- * to ExecBuildProjectInfo().
+ * to ExecBuildProjectionInfo().
*
* Note: the result is always a virtual tuple; therefore it may reference
* the contents of the exprContext's scan tuples and/or temporary results
diff --git a/src/include/executor/tablefunc.h b/src/include/executor/tablefunc.h
index 926bd570145..838c2c2ca29 100644
--- a/src/include/executor/tablefunc.h
+++ b/src/include/executor/tablefunc.h
@@ -20,11 +20,11 @@ struct TableFuncScanState;
* TableFuncRoutine holds function pointers used for generating content of
* table-producer functions, such as XMLTABLE.
*
- * InitBuilder initialize table builder private objects. The output tuple
+ * InitOpaque initializes table builder private objects. The output tuple
* descriptor, input functions for the columns, and typioparams are passed
* from executor state.
*
- * SetDoc is called to define the input document. The table builder may
+ * SetDocument is called to define the input document. The table builder may
* apply additional transformations not exposed outside the table builder
* context.
*
@@ -45,7 +45,7 @@ struct TableFuncScanState;
* builder context such that each subsequent GetValue call returns the values
* for the indicated column for the row being processed.
*
- * DestroyBuilder shall release all resources associated with a table builder
+ * DestroyOpaque shall release all resources associated with a table builder
* context. It may be called either because all rows have been consumed, or
* because an error occurred while processing the table expression.
*/