Made the FDW compatible with PostgreSQL 9.2+ API