Re: ilist.h is not useful as-is

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: ilist.h is not useful as-is
Date: 2013-07-24 16:26:21
Message-ID: 20130724162621.GE14652@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund wrote:
> On 2013-07-24 11:53:39 -0400, Alvaro Herrera wrote:
> > Andres Freund wrote:

> > Amusingly, this will mean ForgetBackgroundWorker() will need to have a
> > slist_mutable_iter * argument if it wants to use the new function ...
>
> The only alternative I see would be to pass both the prev, and the cur
> elements which seems to be less expressive from my POV.
> I am open to other suggestions?

In the grand scheme of things, I think it's fine.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-07-24 16:46:21 dynamic background workers, round two
Previous Message Andres Freund 2013-07-24 16:19:24 Re: ilist.h is not useful as-is