Remove the vacuum_delay_point call in count_nondeletable_pages, because we hold an exclusive lock on the table at this point, which we want to release as soon as possible.  This is called in the phase of lazy vacuum where we truncate the empty pages at the end of the table.
Remove the vacuum_delay_point call in count_nondeletable_pages, because we hold
an exclusive lock on the table at this point, which we want to release as soon
as possible.  This is called in the phase of lazy vacuum where we truncate the
empty pages at the end of the table.

An alternative solution would be to lower the vacuum delay settings before
starting the truncating phase, but this doesn't work very well in autovacuum
due to the autobalancing code (which can cause other processes to change our
cost delay settings).  This case could be considered in the balancing code, but
it is simpler this way.

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