mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Fix more typos and inconsistencies in the tree
Author: Alexander Lakhin Discussion: https://postgr.es/m/0a5419ea-1452-a4e6-72ff-545b1a5a8076@gmail.com
This commit is contained in:
@@ -297,11 +297,12 @@ ExecInitProjectSet(ProjectSet *node, EState *estate, int eflags)
|
||||
Assert(node->plan.qual == NIL);
|
||||
|
||||
/*
|
||||
* Create a memory context that ExecMakeFunctionResult can use to evaluate
|
||||
* function arguments in. We can't use the per-tuple context for this
|
||||
* because it gets reset too often; but we don't want to leak evaluation
|
||||
* results into the query-lifespan context either. We use one context for
|
||||
* the arguments of all tSRFs, as they have roughly equivalent lifetimes.
|
||||
* Create a memory context that ExecMakeFunctionResultSet can use to
|
||||
* evaluate function arguments in. We can't use the per-tuple context for
|
||||
* this because it gets reset too often; but we don't want to leak
|
||||
* evaluation results into the query-lifespan context either. We use one
|
||||
* context for the arguments of all tSRFs, as they have roughly equivalent
|
||||
* lifetimes.
|
||||
*/
|
||||
state->argcontext = AllocSetContextCreate(CurrentMemoryContext,
|
||||
"tSRF function arguments",
|
||||
|
Reference in New Issue
Block a user