Re: PostgreSQL future ideas - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PostgreSQL future ideas
Date
Msg-id 4122.1222344886@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL future ideas  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: PostgreSQL future ideas  ("Marko Kreen" <markokr@gmail.com>)
List pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Gevik Babakhani napsal(a):
>> I have not investigated this yet. But I am very interested to know what the
>> advantages would be to "upgrade" the code to C99 standards.

> I think replace macros with inline functions. It brings to ability to 
> monitor them for example by DTrace.

C99's definition of inline functions really sucks --- it's awkward to
use, and essentially doesn't work at all for declaring inlines in header
files, which would be the main use if we wanted to replace macros with
inlines.  I'm much happier using gcc's version of inline where we really
need it (which is not that many places anyway).
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Robert Haas"
Date:
Subject: Re: Proposal of SE-PostgreSQL patches (for CommitFest:Sep)
Next
From: Simon Riggs
Date:
Subject: Re: Transaction Snapshots and Hot Standby