1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

Fix typos and grammar in code comments

Several mistakes have piled in the code comments over the time,
including incorrect grammar, function names and simple typos.  This
commit takes care of a portion of these.

No backpatch is done as this is only cosmetic.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20210924215827.GS831@telsasoft.com
This commit is contained in:
Michael Paquier
2021-09-27 14:21:28 +09:00
parent 895267a326
commit e767ddcd35
8 changed files with 29 additions and 29 deletions

View File

@ -14,11 +14,11 @@
*/
/*
* INTERFACE ROUTINES
* ExecTableFuncscan scans a function.
* ExecTableFuncScan scans a function.
* ExecFunctionNext retrieve next tuple in sequential order.
* ExecInitTableFuncscan creates and initializes a TableFuncscan node.
* ExecEndTableFuncscan releases any storage allocated.
* ExecReScanTableFuncscan rescans the function
* ExecInitTableFuncScan creates and initializes a TableFuncscan node.
* ExecEndTableFuncScan releases any storage allocated.
* ExecReScanTableFuncScan rescans the function
*/
#include "postgres.h"
@ -46,7 +46,7 @@ static void tfuncLoadRows(TableFuncScanState *tstate, ExprContext *econtext);
/* ----------------------------------------------------------------
* TableFuncNext
*
* This is a workhorse for ExecTableFuncscan
* This is a workhorse for ExecTableFuncScan
* ----------------------------------------------------------------
*/
static TupleTableSlot *
@ -84,7 +84,7 @@ TableFuncRecheck(TableFuncScanState *node, TupleTableSlot *slot)
}
/* ----------------------------------------------------------------
* ExecTableFuncscan(node)
* ExecTableFuncScan(node)
*
* Scans the function sequentially and returns the next qualifying
* tuple.
@ -103,7 +103,7 @@ ExecTableFuncScan(PlanState *pstate)
}
/* ----------------------------------------------------------------
* ExecInitTableFuncscan
* ExecInitTableFuncScan
* ----------------------------------------------------------------
*/
TableFuncScanState *
@ -205,7 +205,7 @@ ExecInitTableFuncScan(TableFuncScan *node, EState *estate, int eflags)
}
/* ----------------------------------------------------------------
* ExecEndTableFuncscan
* ExecEndTableFuncScan
*
* frees any storage allocated through C routines.
* ----------------------------------------------------------------
@ -234,7 +234,7 @@ ExecEndTableFuncScan(TableFuncScanState *node)
}
/* ----------------------------------------------------------------
* ExecReScanTableFuncscan
* ExecReScanTableFuncScan
*
* Rescans the relation.
* ----------------------------------------------------------------