Low: pgsql: bring out the handling of psql error
Low: pgsql: bring out the handling of psql error

- preparation for supporting replication

stevenraspudic/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents,asp24/resource-agents