aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor/tablefunc.h
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/tablefunc.h
parent7e9a4c5c3dca0d9637812d8991e96fc8f46800d9 (diff)
downloadpostgresql-6b8548964bccd0f2e65c687d591b7345d5146bfa.tar.gz
postgresql-6b8548964bccd0f2e65c687d591b7345d5146bfa.zip
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/tablefunc.h')
-rw-r--r--src/include/executor/tablefunc.h6
1 files changed, 3 insertions, 3 deletions
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.
*/