Typecast a user-defined type?

Поиск
Список
Период
Сортировка
От Mark Volpe
Тема Typecast a user-defined type?
Дата
Msg-id 39DB5144.CB58A440@epamail.epa.gov
обсуждение исходный текст
Ответы Re: Typecast a user-defined type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi,

I've created my own datatype for Postgres. I have found it necessary to be
able to convert it to text, so I could match it up with a text column in a
UNION. I figured Postgres would do this for me, but then, I'm naive. Can
someone give me a hint, or point me to the appropriate material on how to get
"value::text" to work with my new type?

Thanks,
Mark


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Q: performance on some selects (7.0.2)?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Typecast a user-defined type?