Adds some missing error handling to PGTYPESnumeric_div() in ecpg's pgtypeslib: (1) we need to check the return value of sub_abs() (2) we need to check the return value of 4 calls to digitbuf_alloc().
Adds some missing error handling to PGTYPESnumeric_div() in ecpg's
pgtypeslib: (1) we need to check the return value of sub_abs() (2) we
need to check the return value of 4 calls to digitbuf_alloc().

Per Coverity static analysis performed by EnterpriseDB.

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