Unix Technical Forum

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

This is a discussion on [ psqlodbc-Bugs-1009413 ] 08.02.0500 SELECT * returns double with for CHAR columns within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Bugs item #1009413, was opened at 2007-10-09 19:04 You can respond by visiting: http://pgfoundry.org/tracker/?func=d...oup_id=1000125 Category: None Group: None >Status: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:25 PM
noreply@pgfoundry.org
 
Posts: n/a
Default [ psqlodbc-Bugs-1009413 ] 08.02.0500 SELECT * returns double with for CHAR columns

Bugs item #1009413, was opened at 2007-10-09 19:04
You can respond by visiting:
http://pgfoundry.org/tracker/?func=d...oup_id=1000125

Category: None
Group: None
>Status: Closed

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;ser ver=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.

----------------------------------------------------------------------

>Comment By: Andrus Moor (kobruleht)

Date: 2007-10-11 12:33

Message:
In 8.2.0501 It works OK

Thank you.

----------------------------------------------------------------------

Comment By: Hiroshi Inoue (hinoue)
Date: 2007-10-11 06:02

Message:
Could you try the the drivers on testing for 8.2.0501
at http://www.geocities.jp/inocchichichi/psqlodbc/
?


----------------------------------------------------------------------

You can respond by visiting:
http://pgfoundry.org/tracker/?func=d...oup_id=1000125

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:53 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com