int8 becames string in BDE :-( - Mailing list pgsql-odbc

From Kovacs Zoltan
Subject int8 becames string in BDE :-(
Date
Msg-id Pine.LNX.4.21.0205282004260.16810-100000@pc10.radnoti-szeged.sulinet.hu
Whole thread Raw
List pgsql-odbc
Dear Hiroshi and Tom,

I downloaded the latest psqlodbc.dll for PostgreSQL 7.2.1. My problem is I
should migrate from 7.1.3 to 7.2.1 because I need "CREATE OR REPLACE
FUNCTION", but COUNT(*) returns int8 now. Unfortunately, Borland Database
Engine and/or ODBCExpress (from Korbitec Pty.) understands int8 as string.

I looked at the code for some minutes but I haven't found the appropriate
place in the ODBC driver if it's possible to convert all int8 data into
int4. In file HISTORY I can see that "SUM(), AVG() and COUNT() now returns
int8 for speed" from version 7.2. So, I can see no solution to switch this
feature off at the server side---is there a possibility at the ODBC driver
side?

TIA, Zoltan

--
                         Kov\'acs, Zolt\'an
                         kovacsz@pc10.radnoti-szeged.sulinet.hu
                         http://www.math.u-szeged.hu/~kovzol
                         ftp://pc10.radnoti-szeged.sulinet.hu/home/kovacsz




pgsql-odbc by date:

Previous
From: Florian Hars
Date:
Subject: md5 with psqlODBC 07.02.0001?
Next
From: Hiroshi Inoue
Date:
Subject: Re: int8 becames string in BDE :-(