Clean up initdb's code for selecting max_connections and shared_buffers a little bit, and set the minimum buffers-per-connection ratio to 10 not 5.  I folded the two test routines into one to counteract the illusion that the tests can be twiddled independently, and added some documentation pointing out the necessary connection between the sets of values tested. Fixes strange choices of parameters that I noticed CVS tip making on Darwin with Apple's undersized default SHMMAX.
Clean up initdb's code for selecting max_connections and shared_buffers
a little bit, and set the minimum buffers-per-connection ratio to 10 not
5.  I folded the two test routines into one to counteract the illusion
that the tests can be twiddled independently, and added some documentation
pointing out the necessary connection between the sets of values tested.
Fixes strange choices of parameters that I noticed CVS tip making on
Darwin with Apple's undersized default SHMMAX.

CraigHarris/gpdb,ahachete/gpdb,CraigHarris/gpdb,lpetrov-pivotal/gpdb,janebeckman/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,lintzc/gpdb,rubikloud/gpdb,janebeckman/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,rubikloud/gpdb,cjcjameson/gpdb,rubikloud/gpdb,edespino/gpdb,kmjungersen/PostgresXL,cjcjameson/gpdb,foyzur/gpdb,atris/gpdb,ashwinstar/gpdb,chrishajas/gpdb,lintzc/gpdb,rvs/gpdb,xuegang/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,xuegang/gpdb,tangp3/gpdb,rvs/gpdb,xuegang/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,atris/gpdb,Chibin/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,0x0FFF/gpdb,zaksoup/gpdb,chrishajas/gpdb,edespino/gpdb,lintzc/gpdb,janebeckman/gpdb,lisakowen/gpdb,zeroae/postgres-xl,0x0FFF/gpdb,yazun/postgres-xl,adam8157/gpdb,xinzweb/gpdb,lintzc/gpdb,adam8157/gpdb,lpetrov-pivotal/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,foyzur/gpdb,ashwinstar/gpdb,rvs/gpdb,tangp3/gpdb,50wu/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,postmind-net/postgres-xl,oberstet/postgres-xl,arcivanov/postgres-xl,royc1/gpdb,edespino/gpdb,cjcjameson/gpdb,ovr/postgres-xl,arcivanov/postgres-xl,0x0FFF/gpdb,randomtask1155/gpdb,techdragon/Postgres-XL,yazun/postgres-xl,Postgres-XL/Postgres-XL,greenplum-db/gpdb,lpetrov-pivotal/gpdb,zaksoup/gpdb,Quikling/gpdb,Chibin/gpdb,tpostgres-projects/tPostgres,rubikloud/gpdb,ahachete/gpdb,atris/gpdb,ovr/postgres-xl,chrishajas/gpdb,kaknikhil/gpdb,pavanvd/postgres-xl,Quikling/gpdb,lisakowen/gpdb,jmcatamney/gpdb,randomtask1155/gpdb,janebeckman/gpdb,50wu/gpdb,janebeckman/gpdb,cjcjameson/gpdb,lisakowen/gpdb,adam8157/gpdb,foyzur/gpdb,foyzur/gpdb,foyzur/gpdb,yuanzhao/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,Chibin/gpdb,edespino/gpdb,Postgres-XL/Postgres-XL,royc1/gpdb,xuegang/gpdb,yuanzhao/gpdb,lintzc/gpdb,kaknikhil/gpdb,royc1/gpdb,snaga/postgres-xl,techdragon/Postgres-XL,50wu/gpdb,Quikling/gpdb,rvs/gpdb,adam8157/gpdb,snaga/postgres-xl,atris/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,royc1/gpdb,Chibin/gpdb,edespino/gpdb,xinzweb/gpdb,adam8157/gpdb,rvs/gpdb,0x0FFF/gpdb,oberstet/postgres-xl,chrishajas/gpdb,jmcatamney/gpdb,edespino/gpdb,xuegang/gpdb,xinzweb/gpdb,snaga/postgres-xl,yuanzhao/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,tangp3/gpdb,rvs/gpdb,edespino/gpdb,yazun/postgres-xl,ahachete/gpdb,ashwinstar/gpdb,postmind-net/postgres-xl,xuegang/gpdb,xinzweb/gpdb,kmjungersen/PostgresXL,randomtask1155/gpdb,oberstet/postgres-xl,CraigHarris/gpdb,kaknikhil/gpdb,techdragon/Postgres-XL,royc1/gpdb,xuegang/gpdb,xuegang/gpdb,CraigHarris/gpdb,ahachete/gpdb,rubikloud/gpdb,rubikloud/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,Chibin/gpdb,zaksoup/gpdb,xinzweb/gpdb,zeroae/postgres-xl,yuanzhao/gpdb,Quikling/gpdb,tangp3/gpdb,Quikling/gpdb,foyzur/gpdb,ovr/postgres-xl,Chibin/gpdb,kmjungersen/PostgresXL,edespino/gpdb,rvs/gpdb,chrishajas/gpdb,Chibin/gpdb,foyzur/gpdb,zeroae/postgres-xl,ovr/postgres-xl,Chibin/gpdb,randomtask1155/gpdb,adam8157/gpdb,arcivanov/postgres-xl,cjcjameson/gpdb,cjcjameson/gpdb,lisakowen/gpdb,postmind-net/postgres-xl,0x0FFF/gpdb,lisakowen/gpdb,rubikloud/gpdb,zeroae/postgres-xl,yuanzhao/gpdb,atris/gpdb,rvs/gpdb,royc1/gpdb,CraigHarris/gpdb,50wu/gpdb,tangp3/gpdb,0x0FFF/gpdb,0x0FFF/gpdb,royc1/gpdb,atris/gpdb,tpostgres-projects/tPostgres,kmjungersen/PostgresXL,jmcatamney/gpdb,Quikling/gpdb,yuanzhao/gpdb,arcivanov/postgres-xl,lintzc/gpdb,randomtask1155/gpdb,Postgres-XL/Postgres-XL,Chibin/gpdb,postmind-net/postgres-xl,tangp3/gpdb,greenplum-db/gpdb,lintzc/gpdb,CraigHarris/gpdb,yuanzhao/gpdb,lintzc/gpdb,janebeckman/gpdb,edespino/gpdb,royc1/gpdb,50wu/gpdb,ashwinstar/gpdb,Quikling/gpdb,foyzur/gpdb,ahachete/gpdb,zeroae/postgres-xl,Quikling/gpdb,jmcatamney/gpdb,arcivanov/postgres-xl,janebeckman/gpdb,CraigHarris/gpdb,tangp3/gpdb,chrishajas/gpdb,rvs/gpdb,ahachete/gpdb,randomtask1155/gpdb,edespino/gpdb,yuanzhao/gpdb,rvs/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,50wu/gpdb,tangp3/gpdb,janebeckman/gpdb,ahachete/gpdb,rubikloud/gpdb,zaksoup/gpdb,randomtask1155/gpdb,xinzweb/gpdb,xinzweb/gpdb,janebeckman/gpdb,Postgres-XL/Postgres-XL,oberstet/postgres-xl,adam8157/gpdb,kaknikhil/gpdb,yazun/postgres-xl,zaksoup/gpdb,tpostgres-projects/tPostgres,ahachete/gpdb,ovr/postgres-xl,lpetrov-pivotal/gpdb,arcivanov/postgres-xl,zaksoup/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,janebeckman/gpdb,snaga/postgres-xl,techdragon/Postgres-XL,lintzc/gpdb,50wu/gpdb,oberstet/postgres-xl,pavanvd/postgres-xl,lisakowen/gpdb,Quikling/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,chrishajas/gpdb,lpetrov-pivotal/gpdb,pavanvd/postgres-xl,zaksoup/gpdb,jmcatamney/gpdb,postmind-net/postgres-xl,tpostgres-projects/tPostgres,adam8157/gpdb,atris/gpdb,xinzweb/gpdb,kmjungersen/PostgresXL,yazun/postgres-xl,chrishajas/gpdb,zaksoup/gpdb,50wu/gpdb,snaga/postgres-xl,0x0FFF/gpdb,Chibin/gpdb,Postgres-XL/Postgres-XL,tpostgres-projects/tPostgres,Quikling/gpdb,randomtask1155/gpdb,techdragon/Postgres-XL,atris/gpdb,xuegang/gpdb,kaknikhil/gpdb,lpetrov-pivotal/gpdb