Re: casting BOOL to somthng

From: sad <sad(at)bankir(dot)ru>
To: Michael Glaesemann <grzm(at)myrealbox(dot)com>
Cc: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: casting BOOL to somthng
Date: 2004-09-01 05:55:45
Message-ID: 200409010955.45834.sad@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message sad 2004-09-01 06:27:11 Re: casting BOOL to somthng
Previous Message sad 2004-09-01 05:41:54 Re: casting BOOL to somthng