Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
Date
Msg-id 14236.1248053747@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros  (Jeremy Kerr <jk@ozlabs.org>)
List pgsql-hackers
Jeremy Kerr <jk@ozlabs.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH v3] Avoid manual shift-and-test logic in AllocSetFreeIndex
Next
From: Andrew Dunstan
Date:
Subject: Re: conditional dropping of columns/constraints