The wording "column "whole-row reference ..." doesn't look good. Whole-row reference is not a column. The error context itself should be "whole row reference for foreign table ft1".
Ah, you are right. Please find attached an updated version.
This looks good to me. Regression tests pass.
--
Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company