mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Rename pg_plan and pg_eval to be more meaningful.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/functions.c,v 1.13 1997/11/25 21:59:19 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/functions.c,v 1.14 1997/12/11 17:36:16 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -113,7 +113,7 @@ init_execution_state(FunctionCachePtr fcache,
|
||||
|
||||
|
||||
planTree_list = (List *)
|
||||
pg_plan(fcache->src, fcache->argOidVect, nargs, &queryTree_list, None);
|
||||
pg_parse_and_plan(fcache->src, fcache->argOidVect, nargs, &queryTree_list, None);
|
||||
|
||||
for (i = 0; i < queryTree_list->len; i++)
|
||||
{
|
||||
|
@ -640,7 +640,7 @@ _SPI_execute(char *src, int tcount, _SPI_plan * plan)
|
||||
argtypes = plan->argtypes;
|
||||
}
|
||||
ptlist = planTree_list = (List *)
|
||||
pg_plan(src, argtypes, nargs, &queryTree_list, None);
|
||||
pg_parse_and_plan(src, argtypes, nargs, &queryTree_list, None);
|
||||
|
||||
_SPI_current->qtlist = queryTree_list;
|
||||
|
||||
|
Reference in New Issue
Block a user