Re: Boolean output representation.

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
Cc: postgres list <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Boolean output representation.
Date: 2010-08-26 14:07:07
Message-ID: AANLkTi=KzoZN81Wm96mUYt=-o298RsvEVyctr7iAyrSy@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello

2010/8/26 Dmitriy Igrishin <dmitigr(at)gmail(dot)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
>
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Dmitriy Igrishin 2010-08-26 14:22:56 Re: Boolean output representation.
Previous Message Dmitriy Igrishin 2010-08-26 11:56:38 Boolean output representation.