Avoid unnecessary fetch from pg_shadow in the normal case in pg_class_aclmask().  We only need to do this when we have to check pg_shadow.usecatupd, and that's not relevant unless the target table is a system catalog.  So we can usually avoid one syscache lookup.
Avoid unnecessary fetch from pg_shadow in the normal case in
pg_class_aclmask().  We only need to do this when we have to check
pg_shadow.usecatupd, and that's not relevant unless the target table
is a system catalog.  So we can usually avoid one syscache lookup.

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