Regression tests for functions of info.c - Mailing list pgsql-odbc

From Michael Paquier
Subject Regression tests for functions of info.c
Date
Msg-id CAB7nPqSqM0k897GjwEZYqCA-gKP+HMhATkrSpmes1pX8_8oDxg@mail.gmail.com
Whole thread Raw
Responses Re: Regression tests for functions of info.c  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-odbc
Hi all,

Please find attached a patch adding regression tests for the functions
in info.c. The following functions, that use hardcoded column names
for their results are checked:
- SQLGetTypeInfo
- SQLTables
- SQLColumns
- SQLSpecialColumns
- SQLStatistics
- SQLPrimaryKeys
- SQLForeignKeys
- SQLProcedureColumns
- SQLTablePrivileges
Note that the number of columns used for some of those functions, like
SQLGetTypeInfo, has increased since 0x0300, so those regression tests
are not compatible with versions of odbc older than 0x0300 and would
need an alternative output. The patch attached does not have the
alternative output for ODBCVER < 0x0300. Do we honestly need it?
Regards
--
Michael

Attachment

pgsql-odbc by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Removing support for < 7.4 servers
Next
From: Heikki Linnakangas
Date:
Subject: Re: Regression tests for functions of info.c