Thread: PQconnectStart & PQconnectPoll example

PQconnectStart & PQconnectPoll example

From
Pavel Golub
Date:
Hello, pgsql-docs.

I think at least one of the libpq examples in 30.20 chapter must
show PQconnectStart & PQconnectPoll usage.

May be there is a need in a additional example which will show
asynchronous commands processing: PQconnectStart, PQconnectPoll, PQsendQuery etc.

--
With best wishes,
 Pavel                          mailto:pavel@gf.microolap.com


Re: PQconnectStart & PQconnectPoll example

From
Peter Eisentraut
Date:
On Tuesday 14 July 2009 09:07:34 Pavel Golub wrote:
> I think at least one of the libpq examples in 30.20 chapter must
> show PQconnectStart & PQconnectPoll usage.
>
> May be there is a need in a additional example which will show
> asynchronous commands processing: PQconnectStart, PQconnectPoll,
> PQsendQuery etc.

More examples are usually better.  Please write some. :-)

Re: PQconnectStart & PQconnectPoll example

From
Pavel Golub
Date:
Hello, Peter.

You wrote:

PE> On Tuesday 14 July 2009 09:07:34 Pavel Golub wrote:
>> I think at least one of the libpq examples in 30.20 chapter must
>> show PQconnectStart & PQconnectPoll usage.
>>
>> May be there is a need in a additional example which will show
>> asynchronous commands processing: PQconnectStart, PQconnectPoll,
>> PQsendQuery etc.

PE> More examples are usually better.  Please write some. :-)

With a great plesure, however I'm not so familar with C. And I didn't
understand manual about these functions a lot that's why I was asking about
examples. :)

--
With best wishes,
 Pavel                          mailto:pavel@gf.microolap.com