I decided to give this a go after all :-) The attached patch does the
Bruce Momjian <bruce@momjian.us>
I decided to give this a go after all :-) The attached patch does the following but it does *not* check whether the user is connected to PostgreSQL 7.0.x or 7.1 first (as would be required for some of the features) - the driver doesn't do this at all afaik and it's beyond my capabilities to implement such checking in code that doesn't look like it was written by my 1 year old daughter! 1) The driver now reports no maximum query length (SQL_MAX_QUERY_SIZE). 2) The driver now reports no maximum row length (SQL_MAX_ROW_SIZE). 3) The driver now reports that Outer Joins are supported (SQL_OUTER_JOINS), but still does not report oj capabilities (SQL_OJ_CAPABILITIES). 4) The version number has been incremented to 7.1.0000 in psqlodbc.h *and* psqlodbc.rc Regards, Dave Page
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/odbc/info.c | modified | +2 −2 |
| src/interfaces/odbc/psqlodbc.h | modified | +5 −4 |
| src/interfaces/odbc/psqlodbc.rc | modified | +8 −5 |
| src/interfaces/odbc/resource.h | modified | +6 −6 |