From: Geoffrey <esoteric@3times25.net>
To: pgsql-sql@postgresql.org
Subject: Re: casting BOOL to somthng
Date: Tue, 31 Aug 2004 08:22:04 -0400
Message-ID: <41346D6C.30804@3times25.net> (raw)
In-Reply-To: <200408311524.16036.sad@bankir.ru>
References: <200408311306.25545.sad@bankir.ru>
<4B1E87BC-FB36-11D8-A2A0-000A95C88220@myrealbox.com>
<200408311524.16036.sad@bankir.ru>
sad wrote:
> 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......
I'd like to understand in what context you would find this useful.
Don't take me wrong please. I'm by no means a db expert, but I can't
see a purpose for such a cast. Can you provide a reasonable example of
such usage?
Thanks.
--
Until later, Geoffrey Registered Linux User #108567
AT&T Certified UNIX System Programmer - 1995
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: esoteric@3times25.net
Subject: Re: casting BOOL to somthng
In-Reply-To: <41346D6C.30804@3times25.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox