From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Regression tests for functions of info.c |
Date: | 2014-03-13 13:52:04 |
Message-ID: | CAB7nPqSqM0k897GjwEZYqCA-gKP+HMhATkrSpmes1pX8_8oDxg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
20140313_pgodbc_info_regression.patch | text/plain | 8.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2014-03-13 14:01:32 | Re: Regression tests for functions of info.c |
Previous Message | Michael Paquier | 2014-03-13 02:36:04 | Re: Removing support for < 7.4 servers |