I wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> So, the problem is with on_error_stop.
> No, I bet it is with "now defines a SQL query". That means there's
> something to be stuffed down the pipe.
I can confirm that removing the on_error_stop parameter as you
propose does *not* fix it.
regards, tom lane