Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 2BFBB9FA173 for ; Thu, 19 Oct 2006 23:06:38 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 18802-02 for ; Fri, 20 Oct 2006 02:06:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id A999C9FB232 for ; Thu, 19 Oct 2006 23:06:07 -0300 (ADT) Received: from localhost (unknown [200.46.204.128]) by pgfoundry.org (Postfix) with ESMTP id B89F1216D50; Fri, 20 Oct 2006 02:06:07 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 40771-03; Fri, 20 Oct 2006 02:04:30 +0000 (UTC) Received: by pgfoundry.org (Postfix, from userid 80) id 18DE6216D56; Fri, 20 Oct 2006 02:04:07 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000759 ] SQLGetInfo(SQL_NULL_COLLATION) returns SQL_NC_END instead of SQL_NC_HIGH Content-type: text/plain; charset=UTF-8 Message-Id: <20061020020407.18DE6216D56@pgfoundry.org> Date: Fri, 20 Oct 2006 02:04:07 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.961 tagged_above=0 required=5 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200610/66 X-Sequence-Number: 8329 Bugs item #1000759, was opened at 2006-10-19 05:53 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000759&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Dmitriy Ivanov (divanov) >Assigned to: Hiroshi Inoue (hinoue) Summary: SQLGetInfo(SQL_NULL_COLLATION) returns SQL_NC_END instead of SQL_NC_HIGH Initial Comment: With the ANSI dirver 08.02.0103, I get SQLGetInfo(SQL_NULL_COLLATION) => 4, i.e. SQL_NC_END. This obviously contradicts to actual results and PG documentation Part VI. Reference > SQL Commands > SELECT: The null value sorts higher than any other value. In other words, with ascending sort order, null values sort at the end, and with descending sort order, null values sort at the beginning. ---------------------------------------------------------------------- >Comment By: Hiroshi Inoue (hinoue) Date: 2006-10-20 02:04 Message: SQL_NC_END had been right until 7.2 came. OK please try the attached dll. regards, Hiroshi Inoue ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000759&group_id=1000125