Re: libpq sendQuery -- getResult not returning until all queries complete

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: libpq sendQuery -- getResult not returning until all queries complete
Дата
Msg-id c35ef788-7427-44b6-bbc0-cc09f25300fd@mm
обсуждение исходный текст
Ответ на Re: libpq sendQuery -- getResult not returning until all queries complete  (Kelly Burkhart <kelly.burkhart@gmail.com>)
Ответы Re: libpq sendQuery -- getResult not returning until all queries complete  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
    Kelly Burkhart wrote:

> #define COMMANDS "select current_timestamp; select pg_sleep(5); select
> current_timestamp"

You should use current_clock() instead of current_timestamp, because
current_timestamp returns a fixed value throughout a transaction.

Best regards,
--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

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

Предыдущее
От: Kelly Burkhart
Дата:
Сообщение: Re: libpq sendQuery -- getResult not returning until all queries complete
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: libpq sendQuery -- getResult not returning until all queries complete