How can I programatically figure out why PQconnectdb failed? The reason for this is that my daemon needs to know: 1- if to try and reconnect (for example, if it's timing out) 2- abandom, if for example it has not permition. thanks, danny