Re: text cast to bool bug
От | Pavel Stehule |
---|---|
Тема | Re: text cast to bool bug |
Дата | |
Msg-id | 162867791003180337g86e961byd293ffae3c313410@mail.gmail.com обсуждение исходный текст |
Ответ на | text cast to bool bug (Laczi József <laczi.jozsef@ritek.hu>) |
Ответы |
Re: text cast to bool bug
|
Список | pgsql-bugs |
Hello It works on my server. Do you have a some specific configuration? postgres=3D# select ('true'::text)::bool; bool ------ t (1 row) I am checked 8.3, 8.4, 9.0. Regards Pavel Stehule 2010/3/18 Laczi J=C3=B3zsef <laczi.jozsef@ritek.hu>: > I think this is a funny bug: > > select ('TRUE'::TEXT)::BOOL; > bool > ------ > f > > but: > > select ('TRUE'::varchar(4))::BOOL; > bool > ------ > t > or > > select ('true'::TEXT)::BOOL; > bool > ------ > t > > > My postgresql version: > PostgreSQL 8.3.4 > > > Laczi J=C3=B3zsef > > > > -- > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs >
В списке pgsql-bugs по дате отправления: