pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerardo Herzig <gherzig@fmed.uba.ar>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: cast record type to array?
Date: Wed, 26 May 2010 19:02:20 -0300
Message-ID: <4BFD9A6C.1060203@fmed.uba.ar> (raw)

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



view thread (3+ messages)  latest in thread

Message-ID: <4BFD9A6C.1060203@fmed.uba.ar>
Permalink:  ../4BFD9A6C.1060203@fmed.uba.ar/
Also on:    postgresql.org/message-id/4BFD9A6C.1060203@fmed.uba.ar

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: gherzig@fmed.uba.ar
  Subject: Re: cast record type to array?
  In-Reply-To: <4BFD9A6C.1060203@fmed.uba.ar>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox