Re: Variable-length Types

Поиск
Список
Период
Сортировка
От Itai Zukerman
Тема Re: Variable-length Types
Дата
Msg-id 87bswl255u.fsf@matt.w80.math-hat.com
обсуждение исходный текст
Ответ на Variable-length Types  (Itai Zukerman <zukerman@math-hat.com>)
Список pgsql-sql
> > 3. What sort of trouble am I going to get into trying to pull data from
> > a custom type into an external interface (i.e. PHP4)?  
> 
> Good question --- the interface code might or might not have a sensible
> default behavior for types it doesn't recognize.

Why not explicitly convert to text?  (I assume the output function for
that type will be used in the conversion...?).

SELECT phone_num::text FROM tab

-itai


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Variable-length Types
Следующее
От: KuroiNeko
Дата:
Сообщение: Re: Variable-length Types