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 1F4A75E4722 for ; Wed, 1 Sep 2004 04:18: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 36163-04 for ; Wed, 1 Sep 2004 07:18:13 +0000 (GMT) Received: from rock.spider.ru (rock.spider.ru [62.183.34.226]) by svr1.postgresql.org (Postfix) with ESMTP id 43A5D5E471D for ; Wed, 1 Sep 2004 04:18:12 -0300 (ADT) Received: from rock (localhost [127.0.0.1]) by rock (Postfix) with SMTP id EC82627431; Wed, 1 Sep 2004 11:18:12 +0400 (MSD) Received: from sad.localnet.ru (sad.localnet.ru [10.0.0.72]) by rock.spider.ru (Postfix) with ESMTP id 2B8B527422; Wed, 1 Sep 2004 11:18:10 +0400 (MSD) Content-Type: text/plain; charset="iso-8859-1" From: sad Organization: IT To: Stephan Szabo Subject: Re: casting BOOL to somthng Date: Wed, 1 Sep 2004 10:27:11 +0400 User-Agent: KMail/1.4.3 Cc: Michael Glaesemann , pgsql-sql@postgresql.org References: <200408311306.25545.sad@bankir.ru> <200409010941.54539.sad@bankir.ru> <20040901001230.O60275@megazone.bigpanda.com> In-Reply-To: <20040901001230.O60275@megazone.bigpanda.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200409011027.11800.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/10 X-Sequence-Number: 18856 > There's a difference between an output function and a cast to text. > One gives you an external representation of the data for end use. The > other gives you an internal representation for manipulation. And at the same time 't'::TEXT can be casted to BOOL 't'::BOOL but reverse.