Re: BUG #18944: Assertion Failure in psql with idle_session_timeout Set

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>
Cc: Никита Калинин <n(dot)kalinin(at)postgrespro(dot)ru>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18944: Assertion Failure in psql with idle_session_timeout Set
Date: 2025-06-12 08:03:27
Message-ID: aEqJz8wOeqOjR25b@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Jun 12, 2025 at 09:38:41AM +0200, Anthonin Bonnefoy wrote:
> The attached patch now aborts the connection anytime we enter COPY
> state while within a pipeline and removes all pipeline+COPY from the
> SQL tests.

Thanks for the patch, that's exactly what I was testing today, as a
simple way to handle the problem reported. I'll check that in more
details tomorrow, running a bit out of time today..

Do you think that it is worth adding a sentence about this restriction
in the docs in the section dedicated to the pipeline meta-commands?
We could just add a simple sentence like "<command>COPY</command>
command is not supported while in pipeline mode."
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message hubert depesz lubaczewski 2025-06-12 12:10:00 Re: BUG #18956: Observing an issue in regexp_count()
Previous Message PG Bug reporting form 2025-06-12 08:03:25 BUG #18956: Observing an issue in regexp_count()