Is there a way to return "true"/"false" string for boolean type?

Поиск
Список
Период
Сортировка
От ChoonSoo Park
Тема Is there a way to return "true"/"false" string for boolean type?
Дата
Msg-id CACgbiFuGyYtt=nC7oc9vbzcpbhb2QR38xa=JDQNU1jnwTM9ZNw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Is there a way to return "true"/"false" string for boolean type?
Re: Is there a way to return "true"/"false" string for boolean type?
Список pgsql-general
Hello Gurus,

I have several tables with lots of boolean columns.
When I run select query for the tables, I always get 't' or 'f' for boolean types.

Is there a way to return 'true' or 'false' string for boolean type except using CASE WHEN ... clause?
I mean global postgres configuration setting to return 'true'/'false' instead of t/f.

Thank you,
Choon Park

В списке pgsql-general по дате отправления:

Предыдущее
От: "Anand Kumar, Karthik"
Дата:
Сообщение: Re: Sudden slow down and spike in system CPU causes max_connections to get exhausted
Следующее
От: Szymon Guz
Дата:
Сообщение: Re: Is there a way to return "true"/"false" string for boolean type?