pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Ralph Mason <ralph.mason@telogis.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Trigger Rowsets
Date: Wed, 2 Nov 2005 17:50:12 -0600
Message-ID: <20051102235012.GB55520@pervasive.com> (raw)
In-Reply-To: <43694CF6.4050605@telogis.com>
References: <43694CF6.4050605@telogis.com>

On Thu, Nov 03, 2005 at 12:34:14PM +1300, Ralph Mason wrote:
> I want to do statement level triggers for performance, but it seems 
> there is no 'updated', 'inserted', or 'deleted' tables inside the 
> trigger and nothing I can find in the documentation that offers similar 
> functionality.
> 
> Is there any way that I can access only those rows that were changed?

No. The only way you can do this is with row-level triggers. There's
also not currently any plans to allow statement-level triggers to
interact with the data that was modified by the statement.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (2+ messages)

Message-ID: <20051102235012.GB55520@pervasive.com>
Permalink:  ../20051102235012.GB55520@pervasive.com/
Also on:    postgresql.org/message-id/20051102235012.GB55520@pervasive.com

 · 

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-performance@postgresql.org
  Cc: jnasby@pervasive.com, ralph.mason@telogis.com
  Subject: Re: Trigger Rowsets
  In-Reply-To: <20051102235012.GB55520@pervasive.com>

* 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