Added callback routines for PostgreSQL >= 9.2
based on code from tds_fdw (https://github.com/GeoffMontee/tds_fdw).