From 72b6ad6313387110cb36b69a3732cd0936c3eba4 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Sun, 30 May 2004 23:40:41 +0000 Subject: 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. --- contrib/tsearch2/tsvector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/tsearch2/tsvector.c') diff --git a/contrib/tsearch2/tsvector.c b/contrib/tsearch2/tsvector.c index 827627b068..494663496e 100644 --- a/contrib/tsearch2/tsvector.c +++ b/contrib/tsearch2/tsvector.c @@ -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; -- cgit v1.2.1