Fix get_rels_with_domain to not do the wrong thing with views and composite types that use a domain.
Fix get_rels_with_domain to not do the wrong thing with views and
composite types that use a domain.

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