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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Jeremy Kerr <jk(at)ozlabs(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
Date: 2009-07-14 15:18:40
Message-ID: 20090714151840.GG4799@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-07-14 15:23:42 Re: [PATCH] "could not reattach to shared memory" on Windows
Previous Message Jeff Davis 2009-07-14 15:13:51 Re: WIP: generalized index constraints