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

From Alvaro Herrera
Subject Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
Date
Msg-id 20090714151840.GG4799@alvh.no-ip.org
Whole thread Raw
In response to [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros  (Jeremy Kerr <jk@ozlabs.org>)
Responses Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros  (Jeremy Kerr <jk@ozlabs.org>)
List pgsql-hackers
Jeremy Kerr wrote:

> Also, since we don't need to declare variables in the macros, we
> can change the code to be implemented as static inlines.

Does this work in compilers other than GCC?  I think we use some kludges
to protect against them ... see pg_list.h for the canonical example.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: WIP: generalized index constraints
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] "could not reattach to shared memory" on Windows