No more LateWrite, but there is WriteMode; SetBufferWriteMode () added; FlushBuffer () fixed: now directly calls smgrflush () and 	releases buffer only if required by caller.
No more LateWrite, but there is WriteMode;
SetBufferWriteMode () added;
FlushBuffer () fixed: now directly calls smgrflush () and
	releases buffer only if required by caller.

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