Fix error-handling in dumpDatabaseDefinitions[ToDDBoost]() functions
Fix error-handling in dumpDatabaseDefinitions[ToDDBoost]() functions

Coverity pointed out that pszBackupFileName is referenced after free() in
the error path, in dumpDatabaseDefinition(). Testing shows that the
following fprintf() call will also segfault if the file could not be
created. In general, we should not try to continue running if one of these
files could not be created, so add exit_nicely() calls to the error paths.

edespino/gpdb,janebeckman/gpdb,lpetrov-pivotal/gpdb,Quikling/gpdb,zaksoup/gpdb,rubikloud/gpdb,royc1/gpdb,rubikloud/gpdb,lintzc/gpdb,edespino/gpdb,adam8157/gpdb,lpetrov-pivotal/gpdb,greenplum-db/gpdb,Quikling/gpdb,lpetrov-pivotal/gpdb,Chibin/gpdb,cjcjameson/gpdb,janebeckman/gpdb,xuegang/gpdb,rvs/gpdb,rubikloud/gpdb,Chibin/gpdb,atris/gpdb,chrishajas/gpdb,edespino/gpdb,rubikloud/gpdb,zaksoup/gpdb,lisakowen/gpdb,edespino/gpdb,rubikloud/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,zaksoup/gpdb,xuegang/gpdb,adam8157/gpdb,xinzweb/gpdb,randomtask1155/gpdb,kaknikhil/gpdb,chrishajas/gpdb,rvs/gpdb,randomtask1155/gpdb,greenplum-db/gpdb,kaknikhil/gpdb,adam8157/gpdb,atris/gpdb,randomtask1155/gpdb,rvs/gpdb,lintzc/gpdb,0x0FFF/gpdb,lisakowen/gpdb,Chibin/gpdb,rubikloud/gpdb,lisakowen/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,rvs/gpdb,lpetrov-pivotal/gpdb,50wu/gpdb,foyzur/gpdb,xinzweb/gpdb,lisakowen/gpdb,tangp3/gpdb,foyzur/gpdb,CraigHarris/gpdb,lpetrov-pivotal/gpdb,rubikloud/gpdb,foyzur/gpdb,ahachete/gpdb,0x0FFF/gpdb,xuegang/gpdb,ahachete/gpdb,50wu/gpdb,lintzc/gpdb,0x0FFF/gpdb,Quikling/gpdb,lintzc/gpdb,50wu/gpdb,cjcjameson/gpdb,xuegang/gpdb,lintzc/gpdb,50wu/gpdb,tangp3/gpdb,janebeckman/gpdb,0x0FFF/gpdb,xuegang/gpdb,Chibin/gpdb,foyzur/gpdb,zaksoup/gpdb,randomtask1155/gpdb,chrishajas/gpdb,xinzweb/gpdb,zaksoup/gpdb,CraigHarris/gpdb,Chibin/gpdb,yuanzhao/gpdb,rubikloud/gpdb,edespino/gpdb,edespino/gpdb,lintzc/gpdb,greenplum-db/gpdb,adam8157/gpdb,greenplum-db/gpdb,CraigHarris/gpdb,janebeckman/gpdb,kaknikhil/gpdb,ahachete/gpdb,lisakowen/gpdb,randomtask1155/gpdb,edespino/gpdb,foyzur/gpdb,lintzc/gpdb,ahachete/gpdb,50wu/gpdb,atris/gpdb,edespino/gpdb,jmcatamney/gpdb,xuegang/gpdb,rvs/gpdb,CraigHarris/gpdb,CraigHarris/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,janebeckman/gpdb,jmcatamney/gpdb,Quikling/gpdb,Chibin/gpdb,ashwinstar/gpdb,0x0FFF/gpdb,rvs/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,tangp3/gpdb,janebeckman/gpdb,xinzweb/gpdb,adam8157/gpdb,lintzc/gpdb,ahachete/gpdb,greenplum-db/gpdb,randomtask1155/gpdb,50wu/gpdb,Quikling/gpdb,randomtask1155/gpdb,ahachete/gpdb,yuanzhao/gpdb,chrishajas/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,tangp3/gpdb,foyzur/gpdb,royc1/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,ahachete/gpdb,kaknikhil/gpdb,lisakowen/gpdb,ahachete/gpdb,greenplum-db/gpdb,Quikling/gpdb,Quikling/gpdb,tangp3/gpdb,xuegang/gpdb,lintzc/gpdb,adam8157/gpdb,0x0FFF/gpdb,rvs/gpdb,xinzweb/gpdb,CraigHarris/gpdb,ashwinstar/gpdb,foyzur/gpdb,chrishajas/gpdb,chrishajas/gpdb,royc1/gpdb,zaksoup/gpdb,atris/gpdb,Quikling/gpdb,foyzur/gpdb,50wu/gpdb,rvs/gpdb,xinzweb/gpdb,royc1/gpdb,royc1/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,chrishajas/gpdb,atris/gpdb,atris/gpdb,adam8157/gpdb,xuegang/gpdb,cjcjameson/gpdb,xinzweb/gpdb,lisakowen/gpdb,tangp3/gpdb,royc1/gpdb,zaksoup/gpdb,kaknikhil/gpdb,0x0FFF/gpdb,randomtask1155/gpdb,zaksoup/gpdb,Quikling/gpdb,Chibin/gpdb,xuegang/gpdb,janebeckman/gpdb,lpetrov-pivotal/gpdb,janebeckman/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,Chibin/gpdb,yuanzhao/gpdb,CraigHarris/gpdb,edespino/gpdb,50wu/gpdb,rvs/gpdb,tangp3/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,lisakowen/gpdb,chrishajas/gpdb,tangp3/gpdb,jmcatamney/gpdb,Chibin/gpdb,atris/gpdb,atris/gpdb,edespino/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,ashwinstar/gpdb,xinzweb/gpdb,royc1/gpdb,ashwinstar/gpdb,adam8157/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,Quikling/gpdb,janebeckman/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,royc1/gpdb,Chibin/gpdb,yuanzhao/gpdb,janebeckman/gpdb,rvs/gpdb