diff --git a/test/expected/sqlserver_20_query_test.out b/test/expected/sqlserver_20_query_test.out index b3016c6..ec9ddf5 100644 --- a/test/expected/sqlserver_20_query_test.out +++ b/test/expected/sqlserver_20_query_test.out @@ -22,3 +22,8 @@ SELECT * FROM ODBCQuerySize('sqlserver_fdw', 'select * from sqlserver_test_table 1 (1 row) +SELECT * FROM sqlserver_test_table_with_unsupported_initial_column; + id | name +----+------ + 1 | aaaa +(1 row) diff --git a/test/fixtures/sqlserver_fixtures.sql b/test/fixtures/sqlserver_fixtures.sql index 0c053ce..bba1c69 100644 --- a/test/fixtures/sqlserver_fixtures.sql +++ b/test/fixtures/sqlserver_fixtures.sql @@ -22,5 +22,9 @@ begin -- Create fixture create table sqlserver_test_table(id int, name text); insert into sqlserver_test_table values (1, 'aaaa'); + + create table sqlserver_test_table_with_unsupported_initial_column(ignored varbinary(10), id int, name text); + insert into sqlserver_test_table_with_unsupported_initial_column(id, name) values (1, 'aaaa'); + end go diff --git a/test/sql/sqlserver_20_query_test_disabled.sql b/test/sql/sqlserver_20_query_test_disabled.sql index b279c17..cb070b0 100644 --- a/test/sql/sqlserver_20_query_test_disabled.sql +++ b/test/sql/sqlserver_20_query_test_disabled.sql @@ -1,4 +1,5 @@ SELECT * FROM sqlserver_test_table; SELECT * FROM ODBCTablesList('sqlserver_fdw', 1); SELECT * FROM ODBCTableSize('sqlserver_fdw', 'sqlserver_test_table'); -SELECT * FROM ODBCQuerySize('sqlserver_fdw', 'select * from sqlserver_test_table'); \ No newline at end of file +SELECT * FROM ODBCQuerySize('sqlserver_fdw', 'select * from sqlserver_test_table'); +SELECT * FROM sqlserver_test_table_with_unsupported_initial_column; \ No newline at end of file