Shortcut for defining triggers - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Shortcut for defining triggers
Date
Msg-id 20050123214922.GA67721@decibel.org
Whole thread Raw
Responses Re: Shortcut for defining triggers  (David Fetter <david@fetter.org>)
Re: Shortcut for defining triggers  (Hannu Krosing <hannu@tm.ee>)
List pgsql-hackers
Sorry if this is old, but I couldn't find it in the archives...

How difficult would it be to provide a means to define a trigger in one
statement? Something like a combination of CREATE TRIGGER and CREATE
FUNCTION? Being able to define them seperately is awesome for generic
cases where you can use one function for a bunch of different tables,
but it's a pain in the cases where you need a unique trigger for one
table.
-- 
Jim C. Nasby, Database Consultant               decibel@decibel.org 
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: [pgsql-hackers] Re: Extending System Views: proposal for 8.1/8.2
Next
From: Tom Lane
Date:
Subject: Re: Extending System Views: proposal for 8.1/8.2