Hi,
The declaration of postgresGetForeignPlan uses baserel, butthe actual definition uses foreignrel. It would be better to sync.
Please find attached a patch.
Tatsuro YamadaNTT Open Source Software Center