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 220D45E46E7 for ; Tue, 31 Aug 2004 09:15:17 -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 82778-05 for ; Tue, 31 Aug 2004 12:15:07 +0000 (GMT) Received: from rock.spider.ru (rock.spider.ru [62.183.34.226]) by svr1.postgresql.org (Postfix) with ESMTP id 773065E46D4 for ; Tue, 31 Aug 2004 09:15:10 -0300 (ADT) Received: from rock (localhost [127.0.0.1]) by rock (Postfix) with SMTP id 08F5627529; Tue, 31 Aug 2004 16:15:15 +0400 (MSD) Received: from sad.localnet.ru (sad.localnet.ru [10.0.0.72]) by rock.spider.ru (Postfix) with ESMTP id 7166A27524; Tue, 31 Aug 2004 16:15:14 +0400 (MSD) Content-Type: text/plain; charset="iso-8859-1" From: sad Organization: IT To: Michael Glaesemann Subject: Re: casting BOOL to somthng Date: Tue, 31 Aug 2004 15:24:16 +0400 User-Agent: KMail/1.4.3 Cc: pgsql-sql@postgresql.org References: <200408311306.25545.sad@bankir.ru> <4B1E87BC-FB36-11D8-A2A0-000A95C88220@myrealbox.com> In-Reply-To: <4B1E87BC-FB36-11D8-A2A0-000A95C88220@myrealbox.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200408311524.16036.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: 200408/335 X-Sequence-Number: 18832 you wrote: > you can use CREATE CAST to make your own cast from boolean to text. thnx it helps. and i am still desire to know _WHY_ there are no predefined cast for BOOL ? and at the same time there are predefined casts for INT and FLOAT......=20