Re: pqlib in c++: PQconnectStart PQconnectPoll

Поиск
Список
Период
Сортировка
От madhtr
Тема Re: pqlib in c++: PQconnectStart PQconnectPoll
Дата
Msg-id 006f01c7e019$2bce19c0$7b55503f@useronewin2klt
обсуждение исходный текст
Ответ на Moving to postgresql and some ignorant questions  ("Phoenix Kiula" <phoenix.kiula@gmail.com>)
Ответы Re: pqlib in c++: PQconnectStart PQconnectPoll
Список pgsql-general
Hi Tom :)

Is this:

libpq-fe.h:

/**
$PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.134 2006/10/04
00:30:13 momjian Exp $
**/

the latest version of libpq?


----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "madhtr" <madhtr@schif.org>
Cc: <pgsql-general@postgresql.org>
Sent: Tuesday, August 14, 2007 21:42
Subject: Re: [GENERAL] pqlib in c++: PQconnectStart PQconnectPoll


> "madhtr" <madhtr@schif.org> writes:
>> From: "Tom Lane" <tgl@sss.pgh.pa.us>
>>> ... although it takes a good long while (several seconds) because of the
>>> "sleep(1)" in the interaction with the postmaster.
>
>> Sleep(1) should be only 1/1000 of a second. I do that so I don't hammer
>> the
>> processor with my while loop when i am not  using a select().
>
> Ah.  I was interpreting it in Unix terms, where sleep() measures in
> seconds.  With a wait of a few msec it might not be too intolerable.
>
> regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: how to get id of currently executed query?
Следующее
От: "Phoenix Kiula"
Дата:
Сообщение: Re: Yet Another COUNT(*)...WHERE...question