Trivial dead code removal: in CreateSchemaCommand(), 'owner_name' is only used in one branch of an if statement, so we can move its declaration to that block. This also avoids an unnecessary syscache lookup.
Trivial dead code removal: in CreateSchemaCommand(), 'owner_name' is
only used in one branch of an if statement, so we can move its
declaration to that block. This also avoids an unnecessary syscache
lookup.

Per Coverity static analysis performed by EnterpriseDB.

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