Change form of query which used "DISTINCT ON" to help support primary keys.
Thomas G. Lockhart <lockhart@fourpalms.org>
Change form of query which used "DISTINCT ON" to help support primary keys. We still have an internal limit in the ODBC code of 8 columns per key, but this should lay the groundwork for resolving that. Includes reformulated query from Tom Lane.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/odbc/convert.c | modified | +36 −11 |
| src/interfaces/odbc/info.c | modified | +47 −17 |