Re: Add PQsendSyncMessage() to libpq

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add PQsendSyncMessage() to libpq
Дата
Msg-id ZaTjr6qpw71vS00O@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add PQsendSyncMessage() to libpq  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Add PQsendSyncMessage() to libpq
Re: Add PQsendSyncMessage() to libpq
Список pgsql-hackers
On Wed, Jan 10, 2024 at 03:40:36PM +0900, Michael Paquier wrote:
> Hence, as a whole, wouldn't it be more consistent if the new
> PQsendPipelineSync() and the existing PQpipelineSync() call an
> internal static routine (PQPipelineSyncInternal?) that can switch
> between both modes?  Let's just make the extra argument a boolean.

Yeah, I'll go with that after a second look.  Attached is what I am
finishing with, and I have reproduced some numbers with the pgbench
metacommand mentioned upthread, which is reeeaaally nice.

I have also made a few edits to the tests.
--
Michael

Вложения

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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pgbnech: allow to cancel queries during benchmark
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: In-placre persistance change of a relation