mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +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:
@ -779,10 +779,10 @@ findFunc(char *fname)
|
||||
FuncCandidateList clist,
|
||||
ptr;
|
||||
Oid funcid = InvalidOid;
|
||||
List *names = makeList1(makeString(fname));
|
||||
List *names = list_make1(makeString(fname));
|
||||
|
||||
ptr = clist = FuncnameGetCandidates(names, 1);
|
||||
freeList(names);
|
||||
list_free(names);
|
||||
|
||||
if (!ptr)
|
||||
return funcid;
|
||||
|
Reference in New Issue
Block a user