Re: Fwd: [LibPQ] Trying PQconnectStart: it doesn't seem to connect - Mailing list pgsql-general

From Alessandro Agosto
Subject Re: Fwd: [LibPQ] Trying PQconnectStart: it doesn't seem to connect
Date
Msg-id f1fcdeba1001250356h5f3b6eeeg18be5bb00aacf5c6@mail.gmail.com
Whole thread Raw
In response to Re: Fwd: [LibPQ] Trying PQconnectStart: it doesn't seem to connect  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-general
Thank you for your reply.
2010/1/25 Daniel Verite <daniel@manitou-mail.org>
       Alessandro Agosto wrote:

> I'm not yet within select/poll cycle, this is the first call that should
> return CONNECTION_OK or CONNECTION_BAD (refering to docs).

That would be the behavior of PQconnectdb(), not PQconnectStart().

Have you read that part of the doc:
No, i didn't read. My fault. I thought that the last section was just about the cycle.
Thank you for the report, i'll try in this way.

Greetings,
Alex.
--
Alessandro A.

pgsql-general by date:

Previous
From: Herouth Maoz
Date:
Subject: Re: Questions about connection clean-up and "invalid page header"
Next
From: Stefan Schwarzer
Date:
Subject: Make & Install contrib/tablefunc Problems