More cleanly handle cases when the database connection cannot be created.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgagent.git;a=commitdiff;h=45fe6cd9c8faf50bbee575c5930c3d1f243d7d71
Author: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Modified Files
--------------
job.cpp | 10 ++++++----
pgAgent.cpp | 17 ++++++++++++++++-
2 files changed, 22 insertions(+), 5 deletions(-)