From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alain Picard <Alain.Picard@memetrics.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ODBC breaks COUNTS, SEQUENCES as of Postgresql 7.3
Date: Sun, 02 Feb 2003 19:37:58 -0500
Message-ID: <18805.1044232678@sss.pgh.pa.us> (raw)
In-Reply-To: <15933.45721.965448.55685@outback.memetrics.local>
References: <15933.45721.965448.55685@outback.memetrics.local>
Alain Picard <Alain.Picard@memetrics.com> writes:
> b) how to get 7.3 to return numbers via ODBC
I dunno anything about fixing ODBC, but the standard advice for avoiding
client-side problems with int8 is to cast the result of count(*) back to
int4:
select count(*)::integer from ...
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, Alain.Picard@memetrics.com
Subject: Re: ODBC breaks COUNTS, SEQUENCES as of Postgresql 7.3
In-Reply-To: <18805.1044232678@sss.pgh.pa.us>
References: <15933.45721.965448.55685@outback.memetrics.local> <18805.1044232678@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox