Change form of query which used "DISTINCT ON" to help support primary keys.

Thomas G. Lockhart <lockhart@fourpalms.org>

Commit: 0b96c6f4ae79ac659344760c9204650496048ea6
Author: Thomas G. Lockhart <lockhart@fourpalms.org>
Date: 2000-03-27T17:04:47Z
Releases: 7.1.1
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

PathChange+/−
src/interfaces/odbc/convert.c modified +36 −11
src/interfaces/odbc/info.c modified +47 −17