From: Chris Travers <chris@travelamericas.com>
To: pginfo <pginfo@t1.unisoftbg.com>
To: pgsql-performance@postgresql.org
Subject: Re: Trigger question
Date: Fri, 16 Jan 2004 17:19:24 +0700
Message-ID: <019c01c3dc1b$17ba7830$7f44053d@winxp> (raw)
References: <400691EA.96598C34@t1.unisoftbg.com>
> Exists in pg any way to define the trigger execution only if I have
> changes on some fields?
No, but you chould check for those fields and return if no changes have been
made. Depending on how intensive the trigger is, this might help. You may
also want to look at statement-level triggers or conditional rules.
Best Wishes,
Chris Travers
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: chris@travelamericas.com, pginfo@t1.unisoftbg.com
Subject: Re: Trigger question
In-Reply-To: <019c01c3dc1b$17ba7830$7f44053d@winxp>
* 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