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

From Tom Lane
Subject Re: Some new list.c primitives
Date
Msg-id 14418.1122519350@sss.pgh.pa.us
Whole thread Raw
In response to Re: Some new list.c primitives  (Neil Conway <neilc@samurai.com>)
Responses Re: Some new list.c primitives
List pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> I agree -- the functionality itself is fine, of course, but it would be 
> nice to have a better name.

Those were just the first names that came to mind, and of course the
reason I asked is that I felt they could be improved upon...

>> I was thinking either list_cond_add() or list_merge().

> What about list_append_distinct()? (And list_append_all_distinct() for 
> the "merge two lists" case.)

How about list_append_distinct and list_concat_distinct?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Autovacuum to-do list
Next
From: Mark Wong
Date:
Subject: Re: [Testperf-general] dbt2 & opteron performance