... - Mailing list pgsql-sql

From Eric Lee Green
Subject ...
Date
Msg-id Pine.LNX.4.04.9902192213350.15542-100000@england.local.net
Whole thread Raw
In response to Triggers to create Tables  (Martin Möderndorfer <mmoedern@linux.stuco.uni-klu.ac.at>)
Responses Re: your mail  ("Roderick A. Anderson" <raanders@altoplanos.net>)
List pgsql-sql
I am curious about the cost of triggers.

The MySQL guys claim that they are very expensive. But if I want to put a
trigger on an "update" for a table so that if changing a "N" to a "Y" in a
status variable it'll go update another table, e.g. sort of a foreign key
constraint since PostGreSQL doesn't have one, what kind of cost is this
for normal operations on that table? (Oh, it will update one single record
in that other table, and the key value has a unique index on it, so that
should not be a problem).

--
Eric Lee Green         eric@linux-hw.com     http://www.linux-hw.com/~eric
     Beware of those who would sell you a 7200RPM Quantum as an
    Enterprise-class hard drive.


pgsql-sql by date:

Previous
From: "Jackson, DeJuan"
Date:
Subject: RE: [SQL] Insert a long text
Next
From: Michael Olivier
Date:
Subject: psql: how to find out type of an index (hash, btree, ...)?