Cast boolean to text

Поиск
Список
Период
Сортировка
От Willy-Bas Loos
Тема Cast boolean to text
Дата
Msg-id 1dd6057e0612070108j62cc1bb8j9a579e7de1791719@mail.gmail.com
обсуждение исходный текст
Ответы Re: Cast boolean to text  ("Shoaib Mir" <shoaibmir@gmail.com>)
Re: Cast boolean to text  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,

I've noticed that postgresql  8.1.0 can cast a boolean to text, but version 8.1.5 CAN'T.
Is this a bug or a feature?

as proof, try to run this query:
select 't'::bool::text

On version 8.1.5 one will recieve the error message "can't convert boolean to text".

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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: From Clause
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: dynamic SQL - variable substitution in plpgsql