Re: Triggers and Function's

From: <btober(at)seaworthysys(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Triggers and Function's
Date: 2003-06-02 12:26:19
Message-ID: 64896.216.238.112.88.1054556779.squirrel@$HOSTNAME
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Or maybe you can use rules ..
>
> On Wed, 28 May 2003 23:18:54 +0200
> Ewald Geschwinde <webmaster(at)geschwinde(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message btober 2003-06-02 12:31:02 Re: URGENT: how to restore corrupted pg?
Previous Message Darko Prenosil 2003-06-02 12:20:36 Re: Accessing 2 different databases in the same query ?