Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 49DD99FA5D0 for ; Tue, 9 Oct 2007 16:05:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 41680-08-3 for ; Tue, 9 Oct 2007 16:04:58 -0300 (ADT) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 4DE5D9FA59D for ; Tue, 9 Oct 2007 16:04:30 -0300 (ADT) Received: from localhost (unknown [200.46.204.187]) by pgfoundry.org (Postfix) with ESMTP id 298EA2177C5; Tue, 9 Oct 2007 19:04:18 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 23351-03; Tue, 9 Oct 2007 16:04:15 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 61B02217797; Tue, 9 Oct 2007 19:04:17 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1009413 ] 08.02.0500 SELECT * returns double with for CHAR columns Content-type: text/plain; charset=UTF-8 Message-Id: <20071009190417.61B02217797@pgfoundry.org> Date: Tue, 9 Oct 2007 19:04:17 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/12 X-Sequence-Number: 9196 Bugs item #1009413, was opened at 2007-10-09 19:04 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009413&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Andrus Moor (kobruleht) Assigned to: Nobody (None) Summary: 08.02.0500 SELECT * returns double with for CHAR columns Initial Comment: To reproduce: 1. Create table desktop in database containing column baas char(8) 2. Install 08.02.0500 version of odbc driver in Windows XP 3. Run the following code in Microsoft Visual FoxPro 9 SP1 : cConnStr= "DRIVER={PostgreSQL Unicode};UID=postgres;Password=a;database=eeva;server=localhost;B9=0" lnConnHandle = sqlstringconnect( cconnstr ) TEXT TO cvr textmerge SELECT * FROM desktop limit 0 ENDTEXT SQLEXEC( lnconnhandle, cvr ) SELECT sqlresult BROWSE norm Observed: Column baas width is 16 characters Expected: Column baas width is 8 characters Notes: 1. SELECT baas FROM desktop LIMIT 0 returns correct column width (8 characters) 2. Previous drivers version (0200) works OK. Log included. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1009413&group_id=1000125