Re: Some new list.c primitives - Mailing list pgsql-hackers

From Gavin Sherry
Subject Re: Some new list.c primitives
Date
Msg-id Pine.LNX.4.58.0507281002130.32074@linuxworld.com.au
Whole thread Raw
In response to Some new list.c primitives  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Some new list.c primitives
List pgsql-hackers
On Wed, 27 Jul 2005, Tom Lane wrote:

> Neil (or anyone else with an opinion),
>
> I'm finding several uses in the planner for some new List primitives
> defined as below.  I'd like to push these into list.c, but before that,
> has anyone got any serious objections?  How about suggestions for better
> names?

list_add() doesn't really describe what it does. I was thinking either
list_cond_add() or list_merge().

I think list_add_all is also ambiguous. What about list_merge_all() or,
even, list_merge_list()?

Gavin


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: ORDER BY
Next
From: Tom Lane
Date:
Subject: Re: Sanity Check?