Fix WAL replay of truncate operations to cope with the possibility that the truncated relation was deleted later in the WAL sequence.  Since replay normally auto-creates a relation upon its first reference by a WAL log entry, failure is seen only if the truncate entry happens to be the first reference after the checkpoint we're restarting from; which is a pretty unusual case but of course not impossible.  Fix by making truncate entries auto-create like the other ones do.  Per report and test case from Dharmendra Goyal.
Fix WAL replay of truncate operations to cope with the possibility that the
truncated relation was deleted later in the WAL sequence.  Since replay
normally auto-creates a relation upon its first reference by a WAL log entry,
failure is seen only if the truncate entry happens to be the first reference
after the checkpoint we're restarting from; which is a pretty unusual case but
of course not impossible.  Fix by making truncate entries auto-create like
the other ones do.  Per report and test case from Dharmendra Goyal.

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