From: | Hannu Krosing <hannu(at)tm(dot)ee> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | "Jim C(dot) Nasby" <decibel(at)decibel(dot)org> |
Subject: | Re: Shortcut for defining triggers |
Date: | 2005-01-24 08:50:13 |
Message-ID: | 1106556613.5790.12.camel@fuji.krosing.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Ühel kenal päeval (pühapäev, 23. jaanuar 2005, 15:49-0600), kirjutas Jim
C. Nasby:
> 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.
The same is true for the need to define RETURN TYPE of a function
separately from the function.
So: How difficult would it be to provide a means to define a function
and its return type in one statement?
--
Hannu Krosing <hannu(at)tm(dot)ee>
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2005-01-24 09:13:18 | Re: can plpgsql returns more flexibe value ? |
Previous Message | Jim C. Nasby | 2005-01-24 06:21:07 | Re: [pgsql-hackers] Re: Extending System Views: proposal for 8.1/8.2 |