pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Byron Nikolaidis <byron.nikolaidis@home.com>
To: Ken J. Wright <ken@ori-ind.com>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] problem with numeric
Date: Tue, 01 Feb 2000 22:29:46 -0500
Message-ID: <3897A4AA.341019F9@home.com> (raw)
References: <3.0.1.32.20000201095714.00b16440@ori-ind.com>



"Ken J. Wright" wrote:
> 
> v6.5.3
> 
> While testing the new ODBC driver I ran into the following problem with
> queries on numeric fields. Unless the values are surrounded by single quote
> marks, the query fails with the message: Unable to identify an operator '='
> for types 'numeric' and 'float'. This occurs in the WHERE clause of the
> query.
> 
> SELECT * from tbl WHERE numfld = 99.125;
> UPDATE tbl SET numfld = 99.13 WHERE numfld = 99.125;
> 
> An INSERT works fine.
> 
> These statements execute ok on float fields, but not numeric. This happens
> via ODBC and also with psql from a Linux console.
> 
> Ken
> 
> ************


An updated odbc driver is available that fixes this at:

ftp://ftp.postgresql.org/pub/odbc/index.html

Byron



view thread (7+ messages)  latest in thread

Message-ID: <3897A4AA.341019F9@home.com>
Permalink:  ../3897A4AA.341019F9@home.com/
Also on:    postgresql.org/message-id/3897A4AA.341019F9@home.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: byron.nikolaidis@home.com, ken@ori-ind.com
  Subject: Re: [INTERFACES] problem with numeric
  In-Reply-To: <3897A4AA.341019F9@home.com>

* 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