Re: a primer on trigger?

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: newsreader(at)mediaone(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: a primer on trigger?
Date: 2001-05-04 16:16:12
Message-ID: Pine.BSF.4.21.0105040913470.59831-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Thu, 3 May 2001 newsreader(at)mediaone(dot)net wrote:

> What I want to do is "trigger" a
> system call when a table is modified
> in any way. But it appears
> that trigger idea in postgres
> is not capable. Can any one
> confirm if that is the case?

I believe you can make syscalls if you
write a trigger in C (rather than one
of the procedural languages).

However (and it's a big one), you should
only ever consider modifying something outside
of the database from a trigger if it's
something that is absolutely safe to do
if the transaction rolls back.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-05-04 16:29:05 Re: Ideal hardware configuration for pgsql
Previous Message Martín Marqués 2001-05-04 15:56:13 how to see rules