pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Danny Braniss <danny@cs.huji.ac.il>
To: pgsql-interfaces@postgresql.org
Subject: PQconnectdb et.all.
Date: Tue, 04 Apr 2006 18:09:24 +0300
Message-ID: <E1FQn9o-000Am9-Is@cs1.cs.huji.ac.il> (raw)

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





view thread (4+ messages)  latest in thread

Message-ID: <E1FQn9o-000Am9-Is@cs1.cs.huji.ac.il>
Permalink:  ../E1FQn9o-000Am9-Is@cs1.cs.huji.ac.il/
Also on:    postgresql.org/message-id/E1FQn9o-000Am9-Is@cs1.cs.huji.ac.il

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: danny@cs.huji.ac.il
  Subject: Re: PQconnectdb et.all.
  In-Reply-To: <E1FQn9o-000Am9-Is@cs1.cs.huji.ac.il>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox