Re: Auto-updated fields - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Auto-updated fields
Date
Msg-id 603c8f070902050644l7b006f68h29e6caefc786078f@mail.gmail.com
Whole thread Raw
In response to Re: Auto-updated fields  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
> At the very least it should not have a hard-coded field name in it. You
> should pass the field name to be set as a parameter in the trigger setup.
>
> That's probably a lot more doable if the trigger is written in C, and in any
> case I think any prepackaged triggers we provide should be written in C.

+1.

Although, I'm not sure there's much point in providing a prepackaged
trigger that does something you could accomplish just as well with a
single line of PL/pgsql, even if we do rewrite it in C.

...Robert


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Hot standby, recovery infra
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] BUG #4516: FOUND variable does not work after RETURN QUERY