RemoveAttrDefaultById() neglected to obtain exclusive lock on the relation being modified.  In most paths of control we'd already have such a lock, but if we were dropping the default due to a cascaded delete of some function it depended on, maybe not.
RemoveAttrDefaultById() neglected to obtain exclusive lock on the
relation being modified.  In most paths of control we'd already have
such a lock, but if we were dropping the default due to a cascaded
delete of some function it depended on, maybe not.

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