pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Larry Rosenman <ler@lerctr.org>
To: pgsql-sql@postgresql.org
Subject: %ROWTYPE and insert
Date: Fri, 09 May 2003 11:10:55 -0500
Message-ID: <106230000.1052496655@lerlaptop.iadfw.net> (raw)

If I have a trigger that needs to write both the old and new rows, as well 
as additional
columns, can I use a %ROWTYPE variable on the end of the insert in 
PL/pgSQL?

Thanks,
LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




Message-ID: <106230000.1052496655@lerlaptop.iadfw.net>
Permalink:  ../106230000.1052496655@lerlaptop.iadfw.net/
Also on:    postgresql.org/message-id/106230000.1052496655@lerlaptop.iadfw.net

 · 

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: ler@lerctr.org
  Subject: Re: %ROWTYPE and insert
  In-Reply-To: <106230000.1052496655@lerlaptop.iadfw.net>

* 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