Re: Some new list.c primitives

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Some new list.c primitives
Date: 2005-07-28 02:55:50
Message-ID: 14418.1122519350@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Neil Conway <neilc(at)samurai(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Wong 2005-07-28 04:31:39 Re: [Testperf-general] dbt2 & opteron performance
Previous Message Alvaro Herrera 2005-07-28 02:51:12 Re: Autovacuum to-do list