Re: Another pimple on the type system

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Another pimple on the type system
Date: 2003-09-09 05:54:10
Message-ID: 25620.1063086850@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Stark <gsstark(at)mit(dot)edu> writes:
> slo=> select '' order by 1;
> ERROR: Unable to identify an operator '<' for types '"unknown"' and '"unknown"'
> You will have to retype this query using an explicit cast

7.4 defaults this to type text:

regression=# select '' order by 1;
?column?
----------

(1 row)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message expect 2003-09-09 06:10:52 mysql create table -> psql
Previous Message Alex 2003-09-09 05:53:03 Views and Limits