Re: numeric when compared to literal

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vicente Alabau Gonzalvo <vicente(dot)alabau-gonzalvo(at)cgey(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: numeric when compared to literal
Date: 2003-02-06 20:29:58
Message-ID: 15296.1044563398@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Vicente Alabau Gonzalvo <vicente(dot)alabau-gonzalvo(at)cgey(dot)com> writes:
> db=> select * from tipos where _numeric_ <= 2147483648;
> ERROR: Unable to identify an operator '<=' for types 'numeric' and
> 'double precision'

7.3 is more forgiving about this (although there's no free lunch ---
some other cases are now less forgiving).

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Ian Barwick 2003-02-06 22:53:55 Re: 7.2 functions that return multiple result sets?
Previous Message Stephan Szabo 2003-02-06 20:19:13 Re: changing referential integrety action on existing table