Re: ALTER FOREIGN DATA WRAPPER can drop dependency on handler
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: pgsql-bugs@postgresql.org
Date: 2026-03-18T20:40:38Z
Lists: pgsql-bugs
Attachments
- v2-0001-Fix-dependency-on-FDW-handler.patch (text/x-patch) patch v2-0001
On Wed, 2026-03-18 at 14:29 -0500, Nathan Bossart wrote: > This matches what we do for the validator a few lines down, so it > makes > sense to me. Could it be worth adding a test or two? Added a test. Testing in the other direction (adding HANDLER and leaving VALIDATOR unspecified, then dropping the validator) is slightly more complex because I don't want to drop the built-in postgresql_fdw_validator. But the patch in the other thread can be extended with a new test or two also, which will cover that case. Will backport all the way. Regards, Jeff Davis
Commits
-
Fix dependency on FDW handler.
- 703fee3b25c4 19 (unreleased) landed
- 876fa84a275e 17.10 landed
- c6f369e585e9 14.23 landed
- 3a35ab1d0126 15.18 landed
- a19edb66a847 16.14 landed
- c11f87b1a3b9 18.4 landed