Dramatically reduce System V shared memory consumption.
Dramatically reduce System V shared memory consumption.

Except when compiling with EXEC_BACKEND, we'll now allocate only a tiny
amount of System V shared memory (as an interlock to protect the data
directory) and allocate the rest as anonymous shared memory via mmap.
This will hopefully spare most users the hassle of adjusting operating
system parameters before being able to start PostgreSQL with a
reasonable value for shared_buffers.

There are a bunch of documentation updates needed here, and we might
need to adjust some of the HINT messages related to shared memory as
well.  But it's not 100% clear how portable this is, so before we
write the documentation, let's give it a spin on the buildfarm and
see what turns red.

yazun/postgres-xl,yazun/postgres-xl,greenplum-db/gpdb,ovr/postgres-xl,greenplum-db/gpdb,50wu/gpdb,Postgres-XL/Postgres-XL,techdragon/Postgres-XL,lisakowen/gpdb,lisakowen/gpdb,xinzweb/gpdb,jmcatamney/gpdb,lisakowen/gpdb,xinzweb/gpdb,adam8157/gpdb,ashwinstar/gpdb,techdragon/Postgres-XL,adam8157/gpdb,jmcatamney/gpdb,zeroae/postgres-xl,lisakowen/gpdb,lisakowen/gpdb,50wu/gpdb,50wu/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,oberstet/postgres-xl,greenplum-db/gpdb,50wu/gpdb,techdragon/Postgres-XL,greenplum-db/gpdb,xinzweb/gpdb,Postgres-XL/Postgres-XL,ashwinstar/gpdb,adam8157/gpdb,lisakowen/gpdb,adam8157/gpdb,oberstet/postgres-xl,jmcatamney/gpdb,lisakowen/gpdb,yazun/postgres-xl,zeroae/postgres-xl,jmcatamney/gpdb,yazun/postgres-xl,ovr/postgres-xl,zeroae/postgres-xl,oberstet/postgres-xl,jmcatamney/gpdb,zeroae/postgres-xl,ovr/postgres-xl,pavanvd/postgres-xl,jmcatamney/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,techdragon/Postgres-XL,adam8157/gpdb,ovr/postgres-xl,ashwinstar/gpdb,Postgres-XL/Postgres-XL,xinzweb/gpdb,jmcatamney/gpdb,xinzweb/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,pavanvd/postgres-xl,adam8157/gpdb,xinzweb/gpdb,xinzweb/gpdb,ashwinstar/gpdb,50wu/gpdb,pavanvd/postgres-xl,ashwinstar/gpdb,Postgres-XL/Postgres-XL,zeroae/postgres-xl,50wu/gpdb,ovr/postgres-xl,adam8157/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,50wu/gpdb,oberstet/postgres-xl,pavanvd/postgres-xl,adam8157/gpdb,lisakowen/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,oberstet/postgres-xl,Postgres-XL/Postgres-XL,yazun/postgres-xl,50wu/gpdb,ashwinstar/gpdb