Re: numeric type and odbc from access 2000 - Mailing list pgsql-general

From Stefan Waidele jun.
Subject Re: numeric type and odbc from access 2000
Date
Msg-id 5.0.2.1.0.20010208144736.02313bd8@imap.Krone-Neuenburg.de
Whole thread Raw
In response to Re: numeric type and odbc from access 2000  ("Richard Huxton" <dev@archonet.com>)
List pgsql-general
At 15:47 07.02.2001 +0000, Richard Huxton wrote:
>[...] It is treating "100.200" as float and can't find an '=' operator that
>matches numeric with float. You can handle it with
>
>where col3=100.200::numeric

Yes, we can, but Access cannot, I have not found out how Delphi can, either.
If You Quote the values, everything is all right, too.

So whose fault is it? Delphi/Access for not casting/quoting,
or is it a Postgres-Bug, not recognizing 100.200 as a valid NUMERIC(6,3) :-)

But most important how can we work around it from Delphi or Access?
Any Ideas?

Stefan


pgsql-general by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Cursors in SPI functions/procedures
Next
From: Peter T Mount
Date:
Subject: Re: Auto-timestamp generator (attached)