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:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/util/var.c,v 1.57 2004/05/26 04:41:27 neilc Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/util/var.c,v 1.58 2004/05/30 23:40:31 neilc Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -543,7 +543,7 @@ flatten_join_alias_vars_mutator(Node *node,
|
||||
|
||||
/* Expand join alias reference */
|
||||
Assert(var->varattno > 0);
|
||||
newvar = (Node *) nth(var->varattno - 1, rte->joinaliasvars);
|
||||
newvar = (Node *) list_nth(rte->joinaliasvars, var->varattno - 1);
|
||||
|
||||
/*
|
||||
* If we are expanding an alias carried down from an upper query,
|
||||
|
Reference in New Issue
Block a user