Re: Sorting by numerical order

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Nolan <nolan(at)gw(dot)tssi(dot)com>
Cc: peter_e(at)gmx(dot)net (Peter Eisentraut), cool_screen_name90001(at)yahoo(dot)com (CSN), pgsql-general(at)postgresql(dot)org
Subject: Re: Sorting by numerical order
Date: 2004-03-15 01:19:54
Message-ID: 11353.1079313594@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mike Nolan <nolan(at)gw(dot)tssi(dot)com> writes:
> You can't cast a variable char type to a numeric, though apparently
> you can cast text to numeric. (I'd be curious to know why one but not
> the other.)

Lack of the necessary entries in pg_cast. I can't think of any
particularly good reason why they're not there, so I have added them in
CVS tip.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-03-15 01:56:07 Re: PostgeSQL problem (server crashed?)
Previous Message Tom Lane 2004-03-14 23:49:02 Re: Expression indexes and casts