Re: Triggers and Function's - Mailing list pgsql-general

From
Subject Re: Triggers and Function's
Date
Msg-id 64896.216.238.112.88.1054556779.squirrel@$HOSTNAME
Whole thread Raw
In response to Re: Triggers and Function's  (Fabrizio Mazzoni <mazzofab@tiscalinet.it>)
List pgsql-general
> Or maybe you can use rules ..
>
> On Wed, 28 May 2003 23:18:54 +0200
> Ewald Geschwinde <webmaster@geschwinde.net> wrote:
>> Campos Chaves wrote:
>> >After I insert on rocord on Table A, I need to insert
>> >another record on Table B. I think that I have to use
>> >triggers and functions. But I don't know how! You can
>> >help me?

Definitly for triggers, and probably for rules, you'll have to use
functions. Define the function first, then define the trigger or rule to
invoke the function.

~Berend Tober




pgsql-general by date:

Previous
From: Darko Prenosil
Date:
Subject: Re: Accessing 2 different databases in the same query ?
Next
From:
Date:
Subject: Re: URGENT: how to restore corrupted pg?