Fix reference to a relcache entry after heap_close().
Fix reference to a relcache entry after heap_close().

rvs/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,Chibin/gpdb,50wu/gpdb,greenplum-db/gpdb,adam8157/gpdb,Chibin/gpdb,yuanzhao/gpdb,Quikling/gpdb,xinzweb/gpdb,xinzweb/gpdb,cjcjameson/gpdb,Chibin/gpdb,janebeckman/gpdb,xinzweb/gpdb,janebeckman/gpdb,kaknikhil/gpdb,adam8157/gpdb,yuanzhao/gpdb,lintzc/gpdb,Quikling/gpdb,greenplum-db/gpdb,50wu/gpdb,janebeckman/gpdb,lisakowen/gpdb,xinzweb/gpdb,lintzc/gpdb,rvs/gpdb,Quikling/gpdb,edespino/gpdb,Quikling/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,janebeckman/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,edespino/gpdb,xinzweb/gpdb,Chibin/gpdb,rvs/gpdb,rvs/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,adam8157/gpdb,edespino/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,jmcatamney/gpdb,lintzc/gpdb,lintzc/gpdb,lisakowen/gpdb,rvs/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,Quikling/gpdb,yuanzhao/gpdb,Quikling/gpdb,adam8157/gpdb,lintzc/gpdb,greenplum-db/gpdb,janebeckman/gpdb,50wu/gpdb,ashwinstar/gpdb,lisakowen/gpdb,rvs/gpdb,adam8157/gpdb,kaknikhil/gpdb,edespino/gpdb,xinzweb/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,Quikling/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,rvs/gpdb,lisakowen/gpdb,Quikling/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,janebeckman/gpdb,janebeckman/gpdb,kaknikhil/gpdb,50wu/gpdb,Quikling/gpdb,Quikling/gpdb,adam8157/gpdb,lintzc/gpdb,rvs/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,edespino/gpdb,edespino/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,lisakowen/gpdb,edespino/gpdb,rvs/gpdb,jmcatamney/gpdb,janebeckman/gpdb,janebeckman/gpdb,Chibin/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,janebeckman/gpdb,lisakowen/gpdb,adam8157/gpdb,lintzc/gpdb,lintzc/gpdb,rvs/gpdb,lisakowen/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,edespino/gpdb,50wu/gpdb,xinzweb/gpdb,ashwinstar/gpdb,50wu/gpdb,50wu/gpdb,ashwinstar/gpdb,edespino/gpdb,yuanzhao/gpdb,Chibin/gpdb,50wu/gpdb,adam8157/gpdb,cjcjameson/gpdb,lintzc/gpdb,Chibin/gpdb,lisakowen/gpdb,Chibin/gpdb,jmcatamney/gpdb,Chibin/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,xinzweb/gpdb,edespino/gpdb,Chibin/gpdb