| От | Shoaib Mir |
|---|---|
| Тема | Re: cannot cast type boolean to text? |
| Дата | |
| Msg-id | bf54be870706141141k58fd91f2hd01bde4addfd5516@mail.gmail.com обсуждение исходный текст |
| Ответ на | cannot cast type boolean to text? (Brian Hurt <bhurt@janestcapital.com>) |
| Список | pgsql-novice |
I'm not sure if this is the right
So when I do:
SELECT true :: text;
in psql, I get back:
ERROR: cannot cast type boolean to text
I was wondering why this is so. Unfortunately, the place where I hit
the problem was in a function that takes arguments of type ANYELEMENT
and wants to convert them to text. Which doesn't make it impossible to
work around this, just more annoying.
This is Postgres 8.1.4 .
Would this be something worthwhile to post to Hackers?
Brian
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера