casting UNKNOWN to REGCLASS

From: sad <sad(at)bankir(dot)ru>
To: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
Cc: Michael Glaesemann <grzm(at)myrealbox(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: casting UNKNOWN to REGCLASS
Date: 2004-09-01 06:43:06
Message-ID: 200409011043.06513.sad@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> select 't'::text::bool;
> ERROR: cannot cast type text to boolean
>
> If you're thinking 't'::bool, that's something different.

Ok
i have nothing to opppose

and by the way (!!!)

why TEXT can not be casted to REGCLASS ?

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2004-09-01 06:59:08 Re: casting BOOL to somthng
Previous Message Michael Glaesemann 2004-09-01 06:38:32 Re: casting BOOL to somthng