Re: Pipeline Mode vs Single Row Mode / Chunked Rows Mode - Mailing list pgsql-general

From Daniel Verite
Subject Re: Pipeline Mode vs Single Row Mode / Chunked Rows Mode
Date
Msg-id 68c8b6c6-ae2e-4875-a08e-e6a26a04678e@manitou-mail.org
Whole thread Raw
In response to Pipeline Mode vs Single Row Mode / Chunked Rows Mode  (Daniel Frey <d.frey@gmx.de>)
Responses Re: Pipeline Mode vs Single Row Mode / Chunked Rows Mode
List pgsql-general
    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.


[1]
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/test/modules/libpq_pipeline/libpq_pipeline.c

Best regards,
--
Daniel Vérité
https://postgresql.verite.pro/
Twitter: @DanielVerite



pgsql-general by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: Will PQsetSingleRowMode get me results faster?
Next
From: Tom Lane
Date:
Subject: Re: Will PQsetSingleRowMode get me results faster?