Fix coredump during replay WAL after crash. Change entrySplitPage() to prevent usage of any information from system catalog, because it could be called during replay of WAL.
Fix coredump during replay WAL after crash. Change entrySplitPage() to prevent
usage of any information from system catalog, because it could be called during
replay of WAL.

Per bug report from Craig McElroy <craig.mcelroy@contegix.com>. Patch doesn't
change on-disk storage.

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