mirror of
https://github.com/postgres/postgres.git
synced 2025-12-02 23:42:46 +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:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/fmgr/fmgr.c,v 1.80 2004/01/19 02:06:41 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/fmgr/fmgr.c,v 1.81 2004/05/30 23:40:37 neilc Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1794,10 +1794,10 @@ get_fn_expr_argtype(FmgrInfo *flinfo, int argnum)
|
||||
else
|
||||
return InvalidOid;
|
||||
|
||||
if (argnum < 0 || argnum >= length(args))
|
||||
if (argnum < 0 || argnum >= list_length(args))
|
||||
return InvalidOid;
|
||||
|
||||
argtype = exprType((Node *) nth(argnum, args));
|
||||
argtype = exprType((Node *) list_nth(args, argnum));
|
||||
|
||||
/*
|
||||
* special hack for ScalarArrayOpExpr: what the underlying function
|
||||
|
||||
Reference in New Issue
Block a user