Re: ilist.h is not useful as-is - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ilist.h is not useful as-is
Date
Msg-id 20130724162621.GE14652@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: ilist.h is not useful as-is  (Andres Freund <andres@2ndquadrant.com>)
List 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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: ilist.h is not useful as-is
Next
From: Robert Haas
Date:
Subject: dynamic background workers, round two