Re: Patch: Remove gcc dependency in definition of inline functions
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Marko Kreen <markokr@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Kurt Harriman <harriman@acm.org>, pgsql-hackers@postgresql.org
Date: 2009-12-16T16:40:43Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes: > Tom Lane escribi: >> I think you're way overthinking this. Where we started was just >> a proposal to try to expand the set of inline-ing compilers beyond >> "gcc only". I don't see why we need to do anything but that. The >> code is fine as-is except for the control #ifdefs. > IIRC Kurt was also on about getting rid of some ugly macros that could > instead be coded as inline functions (fastgetattr for example) I'd just bounce that as useless activity. If they are macros now, and work, the only possible effects of changing them are negative. regards, tom lane