Re: Boolean output representation. - Mailing list pgsql-sql

From Dmitriy Igrishin
Subject Re: Boolean output representation.
Date
Msg-id AANLkTimEGcDaFvOh6y+sDyQmBbWHzpOybrV4FxGsxYT_@mail.gmail.com
Whole thread Raw
In response to Re: Boolean output representation.  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-sql
Hey Pavel,

Thanks for you answer !
And many thanks to developers because my task a bit simplified
because of that :)

Regards,
Dmitriy

2010/8/26 Pavel Stehule <pavel.stehule@gmail.com>
Hello

2010/8/26 Dmitriy Igrishin <dmitigr@gmail.com>:
> Hey all,
>
> As is known, there are many valid literal values for the "true"
> and "false" state of boolean data type.
> True whether that output of boolean type shows only using
> the letters 't' and 'f' or its possible to change the output representation,
> e.g., to "true" or "false" ("1", "0")?
>

no, it isn't possible - you can write a simple formating function or
own custom data type.

Regards

Pavel Stehule

> Regards,
> Dmitriy
>
>

pgsql-sql by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Boolean output representation.
Next
From: John Fabiani
Date:
Subject: a general ? on select performance