Hi,
PFA patch to fix the issue in foreign tables node where it was displaying
catalog tables in inherits options causing internal server error.
RM#1520
Additionally also moved hard coded sql for fetching types in template.
--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company