Re: BUG #17355: Server crashes on ExecReScanForeignScan in postgres_fdw when accessing foreign partition
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Etsuro Fujita <etsuro.fujita@gmail.com>
Cc: Alexander Lakhin <exclusion@gmail.com>, pgsql-bugs@lists.postgresql.org
Date: 2022-02-02T14:42:02Z
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
Commits
-
Further fix for EvalPlanQual with mix of local and foreign partitions.
- 7b0cec2fa05a 14.2 landed
- f862d57057fd 15.0 landed
-
Fix segfault during EvalPlanQual with mix of local and foreign partitions.
- c3928b467a4f 15.0 cited
-
Rework planning and execution of UPDATE and DELETE.
- 86dc90056dfd 14.0 cited