Re: BUG #17355: Server crashes on ExecReScanForeignScan in postgres_fdw when accessing foreign partition

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17355: Server crashes on ExecReScanForeignScan in postgres_fdw when accessing foreign partition
Date: 2022-02-02 14:42:02
Message-ID: 202202021442.hsxbhre2k533@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2022-Feb-01, Etsuro Fujita wrote:

> I didn’t include your test because in my
> understanding we don’t add such a test into the postgres_fdw
> regression test. I’ll commit the patch if there are no objections
> from you (or anyone else).

I think it would be good to reconsider this. We currently don't have
any isolation test files for postgres_fdw, but that doesn't mean we
can't add some (we now have several subdirs where both types of tests
coexist). And if we don't have these tests, it will be easier to break
this again in the future without noticing if we decide to rework
executor code again, which I'm sure we'll do.

Maybe you don't need to add the test in back-branches, which is more
work; but if you only target branch master, it should only require an
ISOLATION line in the Makefile listing the new test.

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"Every machine is a smoke machine if you operate it wrong enough."
https://twitter.com/libseybieda/status/1541673325781196801

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Pasi Eronen 2022-02-02 15:46:25 Re: BUG #17362: Error "could not find block containing chunk" when using index with icu collation on CentOS 7
Previous Message Pasi Eronen 2022-02-02 14:39:29 Re: BUG #17362: Error "could not find block containing chunk" when using index with icu collation on CentOS 7