Re: Fwd: [LibPQ] Trying PQconnectStart: it doesn't seem to connect

From: Alessandro Agosto <the(dot)6one6(at)gmail(dot)com>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Fwd: [LibPQ] Trying PQconnectStart: it doesn't seem to connect
Date: 2010-01-25 11:56:58
Message-ID: f1fcdeba1001250356h5f3b6eeeg18be5bb00aacf5c6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you for your reply.
2010/1/25 Daniel Verite <daniel(at)manitou-mail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2010-01-25 13:01:35 Re: Questions about connection clean-up and "invalid page header"
Previous Message Stefan Schwarzer 2010-01-25 11:50:31 Make & Install contrib/tablefunc Problems