Re: Pipeline Mode vs Single Row Mode / Chunked Rows Mode

From: Daniel Frey <d(dot)frey(at)gmx(dot)de>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Pipeline Mode vs Single Row Mode / Chunked Rows Mode
Date: 2025-01-07 15:28:37
Message-ID: 77DCA104-4412-4960-8BE3-08F87274436E@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On 6. Jan 2025, at 20:47, Daniel Verite <daniel(at)manitou-mail(dot)org> wrote:
>
> Daniel Frey wrote:
>
>> I tried to understand the interaction between Pipeline Mode and
>> Single Row Mode / Chunked Rows Mode. It seems that it works
>> sometimes, but I don't get the feeling that it was deliberately
>> designed to work consistently
>
> It's supposed to work, and there are regression tests in
> src/test/modules/libpq_pipeline/libpq_pipeline.c [1]
> that exercise the single row mode and PQpipelineSync().
>
> You might want to compare your code workflow with how it's done in
> that file, and maybe submit a bug report with your test case if the
> conclusion is that your code should not error out.

Thank you for the link, I will need some time to investigate and to figure out what is different.

Best, Daniel

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2025-01-08 05:06:10 Postgres do not support tinyint?
Previous Message Tom Lane 2025-01-06 20:06:21 Re: Will PQsetSingleRowMode get me results faster?