Skip site navigation (1) Skip section navigation (2)

[ psqlodbc-Bugs-1009413 ] 08.02.0500 SELECT * returns double with for CHAR columns

From: <noreply(at)pgfoundry(dot)org>
To: noreply(at)pgfoundry(dot)org
Subject: [ psqlodbc-Bugs-1009413 ] 08.02.0500 SELECT * returns double with for CHAR columns
Date: 2007-10-09 19:04:17
Message-ID: 20071009190417.61B02217797@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-odbc
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

pgsql-odbc by date

Next:From: Ow Mun HengDate: 2007-10-10 08:07:14
Subject: pgodbc + Excel + msquery + background refresh
Previous:From: Mark Cave-AylandDate: 2007-10-08 20:24:42
Subject: Re: Filtering ODBC table list

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group