Hi,
Attached patch removes "is_foreign_table" from transformCreateStmt()since it already has cxt.isforeign that can serve the same purpose.
Regards,Amul