int8 becames string in BDE :-(

From: Kovacs Zoltan <kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu>
To: inoue(at)tpf(dot)co(dot)jp, tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: int8 becames string in BDE :-(
Date: 2002-05-28 18:13:11
Message-ID: Pine.LNX.4.21.0205282004260.16810-100000@pc10.radnoti-szeged.sulinet.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu
http://www.math.u-szeged.hu/~kovzol
ftp://pc10.radnoti-szeged.sulinet.hu/home/kovacsz

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2002-05-29 01:45:02 Re: int8 becames string in BDE :-(
Previous Message Florian Hars 2002-05-28 12:50:31 md5 with psqlODBC 07.02.0001?