On 2010-05-26, Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)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.