Re: convert custom datatype to array

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: convert custom datatype to array
Дата
Msg-id 20071119155056.GE18602@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: convert custom datatype to array  (Mike Charnoky <noky@nextbus.com>)
Ответы Re: convert custom datatype to array
Список pgsql-general
Mike Charnoky wrote:
> OK, forgive my ignorance here, but the maintainer of our custom data
> type code is no longer with us and this is new territory for me.  We do
> have a function which takes our custom data type and returns a cstring.
>  Is there a pg function which converts a cstring to text type?  This
> seems to be the missing link to eventually get the data to float4[].

Sure, textin() does that.

--
Alvaro Herrera                 http://www.amazon.com/gp/registry/DXLWNGRJD34J
"Coge la flor que hoy nace alegre, ufana. ¿Quién sabe si nacera otra mañana?"

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

Предыдущее
От: Tom Hart
Дата:
Сообщение: Re: convert access sql to postgresql
Следующее
От: Dragan Matic
Дата:
Сообщение: Timestamp comparison with string in some special cases