Re: cast record type to array?

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: cast record type to array?
Дата
Msg-id hto617$qf1$3@reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на cast record type to array?  (Gerardo Herzig <gherzig@fmed.uba.ar>)
Ответы Re: cast record type to array?  (Gerardo Herzig <gherzig@fmed.uba.ar>)
Список pgsql-sql
On 2010-05-26, Gerardo Herzig <gherzig@fmed.uba.ar> wrote:
> Hi all. Im not being able to cast a record variable into an array.
>
> Im writing a trigger, and i would like to store NEW (and OLD) as text[].
> There is a way to do it in plpgsql? (w/o any contrib modules)

why not store them as text instead?
 new::text  
is a valid cast.



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

Предыдущее
От: Brent DeSpain
Дата:
Сообщение: Re: Extending Regular Expression bounds limit of 255.
Следующее
От: alvherre
Дата:
Сообщение: Re: Extending Regular Expression bounds limit of 255.