Fix dependency on FDW handler.

ALTER FOREIGN DATA WRAPPER could drop the dependency on the handler
function if it wasn't explicitly specified.

Reviewed-by: Nathan Bossart <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 14

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3a35ab1d0126802045e7133788647a549ea6fa98

Modified Files
--------------
src/backend/commands/foreigncmds.c         | 5 +++++
src/test/regress/expected/foreign_data.out | 7 +++++++
src/test/regress/sql/foreign_data.sql      | 5 +++++
3 files changed, 17 insertions(+)

Reply via email to