mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Use the new List API function names throughout the backend, and disable the
list compatibility API by default. While doing this, I decided to keep the llast() macro around and introduce llast_int() and llast_oid() variants.
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/adt/regproc.c,v 1.88 2004/05/26 04:41:37 neilc Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/adt/regproc.c,v 1.89 2004/05/30 23:40:36 neilc Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -188,7 +188,7 @@ regprocout(PG_FUNCTION_ARGS)
|
||||
* Would this proc be found (uniquely!) by regprocin? If not,
|
||||
* qualify it.
|
||||
*/
|
||||
clist = FuncnameGetCandidates(makeList1(makeString(proname)), -1);
|
||||
clist = FuncnameGetCandidates(list_make1(makeString(proname)), -1);
|
||||
if (clist != NULL && clist->next == NULL &&
|
||||
clist->oid == proid)
|
||||
nspname = NULL;
|
||||
@ -536,7 +536,7 @@ regoperout(PG_FUNCTION_ARGS)
|
||||
* Would this oper be found (uniquely!) by regoperin? If not,
|
||||
* qualify it.
|
||||
*/
|
||||
clist = OpernameGetCandidates(makeList1(makeString(oprname)),
|
||||
clist = OpernameGetCandidates(list_make1(makeString(oprname)),
|
||||
'\0');
|
||||
if (clist != NULL && clist->next == NULL &&
|
||||
clist->oid == oprid)
|
||||
@ -1122,7 +1122,7 @@ stringToQualifiedNameList(const char *string, const char *caller)
|
||||
}
|
||||
|
||||
pfree(rawname);
|
||||
freeList(namelist);
|
||||
list_free(namelist);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user