cast record type to array?

From: Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar>
To: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: cast record type to array?
Date: 2010-05-26 22:02:20
Message-ID: 4BFD9A6C.1060203@fmed.uba.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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)

thanks!
Gerardo

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2010-05-27 00:04:34 Re: Rules and sequences
Previous Message Rolando Edwards 2010-05-26 21:24:27 Re: inner join and limit