From: pginfo <pginfo@t1.unisoftbg.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Trigger question
Date: Thu, 15 Jan 2004 14:13:15 +0100
Message-ID: <400691EA.96598C34@t1.unisoftbg.com> (raw)
Hi,
I am using pg 7.4.1 and have created a trigger over table with 3 M rows.
If I start masive update on this table, pg executes this trigger on
every row and dramaticaly slows the system.
Exists in pg any way to define the trigger execution only if I have
changes on some fields?
For example I am able to declare this in oracle.
My trigger is writen in pgSQL.
regards,
ivan.
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: pginfo@t1.unisoftbg.com
Subject: Re: Trigger question
In-Reply-To: <400691EA.96598C34@t1.unisoftbg.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