CAST ON NEW TYPE

Поиск
Список
Период
Сортировка
От
Тема CAST ON NEW TYPE
Дата
Msg-id 200012061503.eB6F3wt25942@mail.postgresql.org
обсуждение исходный текст
Ответы Re: CAST ON NEW TYPE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

I create a new type that work well, but when
i use the cast function on my new type like this i have an error:
(other fucntion like substring don't work too )

select bare_code::text from ean_article;
ERROR:  Cannot cast type 'ean13' to 'text'

What can i do in my new type in order to use cast ???

Best regards,

PEJAC Pascal


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

Предыдущее
От: Felix Lungu
Дата:
Сообщение: BLOB Help!
Следующее
От: Camm Maguire
Дата:
Сообщение: Re: Foreign key references to non-primary key columns