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 2D3205E46C3 for ; Wed, 1 Sep 2004 03:46:57 -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 23050-10 for ; Wed, 1 Sep 2004 06:46:47 +0000 (GMT) Received: from rock.spider.ru (rock.spider.ru [62.183.34.226]) by svr1.postgresql.org (Postfix) with ESMTP id A1A775E46E9 for ; Wed, 1 Sep 2004 03:46:47 -0300 (ADT) Received: from rock (localhost [127.0.0.1]) by rock (Postfix) with SMTP id 2DE2127431; Wed, 1 Sep 2004 10:46:47 +0400 (MSD) Received: from sad.localnet.ru (sad.localnet.ru [10.0.0.72]) by rock.spider.ru (Postfix) with ESMTP id 71BE527422; Wed, 1 Sep 2004 10:46:44 +0400 (MSD) Content-Type: text/plain; charset="iso-8859-1" From: sad Organization: IT To: Michael Glaesemann Subject: Re: casting BOOL to somthng Date: Wed, 1 Sep 2004 09:55:45 +0400 User-Agent: KMail/1.4.3 Cc: Stephan Szabo , pgsql-sql@postgresql.org References: <200408311306.25545.sad@bankir.ru> <200409010941.54539.sad@bankir.ru> <8AF2CE57-FBE1-11D8-A2A0-000A95C88220@myrealbox.com> In-Reply-To: <8AF2CE57-FBE1-11D8-A2A0-000A95C88220@myrealbox.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200409010955.45834.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/6 X-Sequence-Number: 18852 On Wednesday 01 September 2004 10:38, Michael Glaesemann wrote: > On Sep 1, 2004, at 2:41 PM, sad wrote: > > On Wednesday 01 September 2004 09:24, Stephan Szabo wrote: > >> There's a fairly accepted convention for integer representations. > >> There's no such convention for boolean representations. > > > > then why do you print its value on a screen ?! > > Perhaps because if you don't print *something* you can't see it? since you printed it you poke a convention (of casting to string) if you can print it on screen why not to print it in string?