On 2019-10-25 17:38, Jehan-Guillaume de Rorthais wrote:
> On Thu, 10 Oct 2019 15:15:46 +0200
> Jehan-Guillaume de Rorthais <jgdr@dalibo.com> wrote:
>
> [...]
>> Here is a script to reproduce it under version 10, 11 and 12:
>
> I investigated on this bug while coming back from pgconf.eu. Bellow what I found
> so far.
I have simplified your reproduction steps from the previous message to a
test case, and I can confirm that your proposed fix addresses the issue.
A patch is attached. Maybe someone can look it over. I target next
week's minor releases.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services