Skip site navigation (1) Skip section navigation (2)

Re: Some new list.c primitives

From: Neil Conway <neilc(at)samurai(dot)com>
To: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Some new list.c primitives
Date: 2005-07-28 01:40:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Gavin Sherry wrote:
> list_add() doesn't really describe what it does.

I agree -- the functionality itself is fine, of course, but it would be 
nice to have a better name.

> 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.)


In response to


pgsql-hackers by date

Next:From: Gavin SherryDate: 2005-07-28 01:42:22
Subject: Re: Autovacuum to-do list
Previous:From: Bruce MomjianDate: 2005-07-28 01:39:01
Subject: Re: --enable-thread-safety on Win32

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group