Thread: pgsql: Turn special page pointer validation to static inline function

pgsql: Turn special page pointer validation to static inline function

From
Kevin Grittner
Date:
Turn special page pointer validation to static inline function

Inclusion of multiple macros inside another macro was pushing MSVC
past its size liimit.  Reported by buildfarm.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/56dffb5a73ab157fc8d35a76c1170d656a051f14

Modified Files
--------------
src/include/storage/bufpage.h | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)


Re: pgsql: Turn special page pointer validation to static inline function

From
Andrew Dunstan
Date:

On 04/09/2016 09:19 AM, Kevin Grittner wrote:
> Turn special page pointer validation to static inline function
>
> Inclusion of multiple macros inside another macro was pushing MSVC
> past its size liimit.  Reported by buildfarm.
>
>


FTR, not only MSVC. pademelon is an HP-UX box running the HP compiler
and had the same isue.

cheers

andrew