| От | Stephan Szabo |
|---|---|
| Тема | Re: casting BOOL to somthng |
| Дата | |
| Msg-id | 20040901002131.P60523@megazone.bigpanda.com обсуждение исходный текст |
| Ответ на | Re: casting BOOL to somthng (sad <sad@bankir.ru>) |
| Ответы |
casting UNKNOWN to REGCLASS
|
| Список | pgsql-sql |
On Wed, 1 Sep 2004, sad wrote: > > There's a difference between an output function and a cast to text. > > One gives you an external representation of the data for end use. The > > other gives you an internal representation for manipulation. > > And at the same time > > 't'::TEXT can be casted to BOOL > 't'::BOOL > > but reverse. select 't'::text::bool; ERROR: cannot cast type text to boolean If you're thinking 't'::bool, that's something different.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера