Re: Headers dependencies cleanup

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Headers dependencies cleanup
Date: 2008-04-07 20:53:39
Message-ID: 20080407205339.GD5095@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Zdenek Kotala wrote:
> Alvaro Herrera napsal(a):
>> Zdenek Kotala wrote:
>>
>>> PS: Is there any reason to do not start to use inline functions
>>> instead of macros in some cases?
>>
>> Not all compilers like (== support) inline macros apparently.
>
> Is it your assumption or do you mean some specific compiler? IIRC, inline
> is defined in C99 and my assumption :-) is that it should be supported by
> all compilers today. I try to look on buildmachine, There should be some
> useful configure output.

We have some defensive coding for compilers that do not support it, for
example on pg_list.h ... I have no idea if there's a compiler in actual
use that needs this.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2008-04-07 20:58:34 Re: Headers dependencies cleanup
Previous Message David Fetter 2008-04-07 20:46:52 Re: Database owner installable modules patch