X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 550645E46FB for ; Wed, 1 Sep 2004 04:34:15 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 40354-04 for ; Wed, 1 Sep 2004 07:34:06 +0000 (GMT) Received: from rock.spider.ru (rock.spider.ru [62.183.34.226]) by svr1.postgresql.org (Postfix) with ESMTP id DF4EA5E46F9 for ; Wed, 1 Sep 2004 04:34:04 -0300 (ADT) Received: from rock (localhost [127.0.0.1]) by rock (Postfix) with SMTP id 7AB8D2B32A; Wed, 1 Sep 2004 11:34:05 +0400 (MSD) Received: from sad.localnet.ru (sad.localnet.ru [10.0.0.72]) by rock.spider.ru (Postfix) with ESMTP id CAA522B327; Wed, 1 Sep 2004 11:34:04 +0400 (MSD) Content-Type: text/plain; charset="iso-8859-1" From: sad Organization: IT To: Stephan Szabo Subject: casting UNKNOWN to REGCLASS Date: Wed, 1 Sep 2004 10:43:06 +0400 User-Agent: KMail/1.4.3 Cc: Michael Glaesemann , pgsql-sql@postgresql.org References: <200408311306.25545.sad@bankir.ru> <200409011027.11800.sad@bankir.ru> <20040901002131.P60523@megazone.bigpanda.com> In-Reply-To: <20040901002131.P60523@megazone.bigpanda.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200409011043.06513.sad@bankir.ru> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/12 X-Sequence-Number: 18858 > 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 ?