Received: from mail.rdc1.md.home.com (imail@ha1.rdc1.md.home.com [24.2.2.66]) by hub.org (8.9.3/8.9.3) with ESMTP id WAA18791 for ; Tue, 1 Feb 2000 22:29:59 -0500 (EST) (envelope-from byron.nikolaidis@home.com) Received: from home.com ([24.4.141.52]) by mail.rdc1.md.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000202032958.PPKN15918.mail.rdc1.md.home.com@home.com>; Tue, 1 Feb 2000 19:29:58 -0800 Message-ID: <3897A4AA.341019F9@home.com> Date: Tue, 01 Feb 2000 22:29:46 -0500 From: Byron Nikolaidis Organization: @Home Network X-Mailer: Mozilla 4.5 [en]C-AtHome0405 (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: "Ken J. Wright" CC: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] problem with numeric References: <3.0.1.32.20000201095714.00b16440@ori-ind.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "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