Changed qualification of pg_views and pg_tables to directly check if a rewrite rule on SELECT exists/not exists instead of asking pg_get_viewdef() function.
Changed qualification of pg_views and pg_tables to directly
check if a rewrite rule on SELECT exists/not exists instead
of asking pg_get_viewdef() function.

Jan

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