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

From Pavel Stehule
Subject Re: Boolean output representation.
Date
Msg-id AANLkTi=KzoZN81Wm96mUYt=-o298RsvEVyctr7iAyrSy@mail.gmail.com
Whole thread Raw
In response to Boolean output representation.  (Dmitriy Igrishin <dmitigr@gmail.com>)
Responses Re: Boolean output representation.  (Dmitriy Igrishin <dmitigr@gmail.com>)
List pgsql-sql
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: Dmitriy Igrishin
Date:
Subject: Boolean output representation.
Next
From: Dmitriy Igrishin
Date:
Subject: Re: Boolean output representation.