tds-fdw / tds_fdw

A PostgreSQL foreign data wrapper to connect to TDS databases (Sybase and Microsoft SQL Server)
Other
381 stars 102 forks source link

tds_fdw doesn't complain if a column in the foreign table isn't returned by the foreign query #25

Closed GeoffMontee closed 8 years ago

GeoffMontee commented 9 years ago

First encountered in issue #1.

GeoffMontee commented 8 years ago

There are checks to catch cases like this now, such as:

https://github.com/tds-fdw/tds_fdw/blob/9affd7746299378d0124c262264ee3d59b719694/src/tds_fdw.c#L1376

https://github.com/tds-fdw/tds_fdw/blob/9affd7746299378d0124c262264ee3d59b719694/src/tds_fdw.c#L1387

https://github.com/tds-fdw/tds_fdw/blob/9affd7746299378d0124c262264ee3d59b719694/src/tds_fdw.c#L1511

https://github.com/tds-fdw/tds_fdw/blob/9affd7746299378d0124c262264ee3d59b719694/src/tds_fdw.c#L1546