Re: a primer on trigger? - Mailing list pgsql-general

From Stephan Szabo
Subject Re: a primer on trigger?
Date
Msg-id Pine.BSF.4.21.0105041054110.60318-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: a primer on trigger?  (newsreader@mediaone.net)
Responses Re: a primer on trigger?  (newsreader@mediaone.net)
List pgsql-general
On Fri, 4 May 2001 newsreader@mediaone.net wrote:

> It _is_ quite trivial to write a safe perl
> trigger especially because I control both client
> and server end of postgres.  With C it
> will be whole new game for me.

I didn't quite follow the original explanation
of what you're doing, but the safeness thing
was more:
 You insert row (1,1,1) into table
 Your trigger goes off, does something that
  doesn't affect this database (say like
  writing a file with 1,1,1 or modifying
  another database)
 You rollback or an error occurs.
 The results of your trigger persist, but
the data isn't in the database anymore (well
it is, but marked dead).  If you're expecting
that the outside thing is an accurate representation
of the db, you're in trouble.



pgsql-general by date:

Previous
From: "Carl Rosenberger"
Date:
Subject: Re: Thread or not threads?
Next
From: Lark
Date:
Subject: Data type money. How to use?