Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E53FE9FB20F for ; Thu, 19 Oct 2006 02:53:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 91826-09 for ; Thu, 19 Oct 2006 02:53:29 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 109739FB1FE for ; Thu, 19 Oct 2006 02:53:29 -0300 (ADT) Received: from localhost (unknown [200.46.204.128]) by pgfoundry.org (Postfix) with ESMTP id 17FDD216D53; Thu, 19 Oct 2006 05:53:29 +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 33946-06; Thu, 19 Oct 2006 05:53:25 +0000 (UTC) Received: by pgfoundry.org (Postfix, from userid 80) id 31ED0216D8D; Thu, 19 Oct 2006 05:53:25 +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: <20061019055325.31ED0216D8D@pgfoundry.org> Date: Thu, 19 Oct 2006 05:53:25 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.003 tagged_above=0 required=5 tests=AWL, NO_REAL_NAME X-Spam-Level: * X-Archive-Number: 200610/50 X-Sequence-Number: 8313 Bugs item #1000759, was opened at 2006-10-19 09: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: Nobody (None) 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. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000759&group_id=1000125