mirror of
https://github.com/postgres/postgres.git
synced 2025-11-29 23:43:17 +03:00
Desultory de-FastList-ification. RelOptInfo.reltargetlist is back to
being a plain List.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/plan/initsplan.c,v 1.100 2004/05/30 23:40:29 neilc Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/plan/initsplan.c,v 1.101 2004/06/01 03:02:58 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -151,7 +151,7 @@ add_vars_to_targetlist(Query *root, List *vars, Relids where_needed)
|
||||
{
|
||||
/* Variable not yet requested, so add to reltargetlist */
|
||||
/* XXX is copyObject necessary here? */
|
||||
FastAppend(&rel->reltargetlist, copyObject(var));
|
||||
rel->reltargetlist = lappend(rel->reltargetlist, copyObject(var));
|
||||
}
|
||||
rel->attr_needed[attrno] = bms_add_members(rel->attr_needed[attrno],
|
||||
where_needed);
|
||||
|
||||
Reference in New Issue
Block a user