Re: casting BOOL to somthng - Mailing list pgsql-sql

From sad
Subject Re: casting BOOL to somthng
Date
Msg-id 200409010955.45834.sad@bankir.ru
Whole thread Raw
In response to Re: casting BOOL to somthng  (Michael Glaesemann <grzm@myrealbox.com>)
Responses Re: casting BOOL to somthng  (Peter Eisentraut <peter_e@gmx.net>)
Re: casting BOOL to somthng  (Michael Glaesemann <grzm@myrealbox.com>)
Re: casting BOOL to somthng  (Geoffrey <esoteric@3times25.net>)
List pgsql-sql
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?



pgsql-sql by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: casting BOOL to somthng
Next
From: Peter Eisentraut
Date:
Subject: Re: casting BOOL to somthng