Paul van der Zwan <Paul(dot)Vanderzwan(at)Sun(dot)COM> writes:
> Maybe noone ever ran Postgres on Solaris on a VIA Epia system.
Maybe. What is a "VIA Epia system"?
Frankly, I'm afraid that your patch is likely to break way more systems
than it fixes. What is getpagesizes(), and is it guaranteed to exist on
*every* Solaris system? What the heck correlation does its result have
to whether SHM_SHARE_MMU will work?
regards, tom lane