> 5 окт. 2021 г., в 22:08, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> написал(а):
>
> Andrey Borodin <x4mmm(at)yandex-team(dot)ru> writes:
>> I'm observing a related coredump in
>> + ForeignScan *fsplan = castNode(ForeignScan, fsstate->ss.ps.plan);
>
> Could we have a test case for that please? It seems to be related
> to ANALYZE, but I'm unexcited about reverse-engineering the details.
Sure, I'll compose a repro a bit later.
It's an "ANALYZE (SKIP_LOCKED)" of a foreign table containing data that triggered varchar_input() to use ereport(ERROR).
Thanks!
Best regards, Andrey Borodin.