Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 279DB9FA492 for ; Tue, 12 Dec 2006 19:51:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 56514-07 for ; Tue, 12 Dec 2006 19:50:59 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id C3E549FA380 for ; Tue, 12 Dec 2006 19:51:03 -0400 (AST) Received: from localhost (unknown [200.46.204.191]) by pgfoundry.org (Postfix) with ESMTP id 3DFB8216E72; Tue, 12 Dec 2006 23:50:56 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 05013-07; Tue, 12 Dec 2006 19:50:59 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id BD8B4216E64; Tue, 12 Dec 2006 23:50:52 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000831 ] SQLStatistics ORDINAL_POSITION starts at 2 for PK index Content-type: text/plain; charset=UTF-8 Message-Id: <20061212235052.BD8B4216E64@pgfoundry.org> Date: Tue, 12 Dec 2006 23:50:52 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/51 X-Sequence-Number: 8498 Bugs item #1000831, was opened at 2006-12-10 20:42 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000831&group_id=1000125 Category: None Group: None >Status: Closed Resolution: None Priority: 3 Submitted By: Farid Zidan (faridz) >Assigned to: Hiroshi Inoue (hinoue) Summary: SQLStatistics ORDINAL_POSITION starts at 2 for PK index Initial Comment: Example, create table in_sync_rs_type ( rs_type_cd CHAR(8) not null, rs_type_desc VARCHAR(30) not null, object_ind INT2 not null, object_pattern_ind INT2 not null, ctrl_ins_dtm TIMESTAMP not null default CURRENT_TIMESTAMP, ctrl_upd_dtm TIMESTAMP not null, ctrl_usr_id VARCHAR(128) not null, constraint PK_IN_SYNC_RS_TYPE primary key (rs_type_cd) ); SQLStatistics returns ordinal_position for PK_IN_SYNC_RS_TYPE column rs_type_cd as 2 instead of 1 Driver PostgreSQL ANSI 8.02.02.00 and 8.02.02.03 ---------------------------------------------------------------------- Comment By: Farid Zidan (faridz) Date: 2006-12-12 15:11 Message: It's working now. Thanks. ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2006-12-11 00:31 Message: The bug seems to be caused by the recent change. Please try the attached dll. regards, Hiroshi Inoue ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000831&group_id=1000125