Re: Help with trigger

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: Michael Satterwhite <michael(at)weblore(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Help with trigger
Date: 2010-12-27 20:33:40
Message-ID: AANLkTi=6RoNAc_OQ8R3-AtqqTEmgvuSjyc3-H9i0JZ6A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Dec 27, 2010 at 9:57 AM, Michael Satterwhite
<michael(at)weblore(dot)com> wrote:

> CREATE TRIGGER t_listing_startdate before insert or update on test
>        for each row execute procedure t_listing_startdate();

Now that you've created a trigger function, you need to attached to your table:

http://www.postgresql.org/docs/9.0/interactive/sql-createtrigger.html

--
Regards,
Richard Broersma Jr.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Geoffrey Myers 2010-12-27 20:35:19 Re: Pitr
Previous Message Geoffrey Myers 2010-12-27 20:18:05 Pitr