Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeremy Kerr <jk(at)ozlabs(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org, Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
Date: 2009-07-20 01:35:47
Message-ID: 14236.1248053747@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jeremy Kerr <jk(at)ozlabs(dot)org> writes:
> We also need disable_sigpipe to be called when it's not the start of a
> block, hence the separate type definition.

So break that macro into two (variable definition and code).

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-07-20 02:39:51 Re: WIP: Deferrable unique constraints
Previous Message Tom Lane 2009-07-20 01:34:11 Re: [PATCH v3] Avoid manual shift-and-test logic in AllocSetFreeIndex