Re: Auto-updated fields
От | Alvaro Herrera |
---|---|
Тема | Re: Auto-updated fields |
Дата | |
Msg-id | 20090103001439.GA11683@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Auto-updated fields (Robert Treat <xzilla@users.sourceforge.net>) |
Ответы |
Re: Auto-updated fields
|
Список | pgsql-hackers |
Robert Treat wrote: > On Thursday 08 May 2008 00:27:10 Tino Wildenhain wrote: > > David Fetter wrote: Ref: http://archives.postgresql.org/pgsql-hackers/2008-05/msg00198.php > > > 1. Create a generic (possibly overloaded) trigger function, bundled > > > with PostgreSQL, which sets a field to some value. For example, a > > > timestamptz version might set the field to now(). > > Having the pre defined triggers at hand could be useful, especially > > for people not writing triggers so often to get used to it but I'm > > really not happy with the idea of magic preprocessing. > I have a generic version of this in pagila. Now that we have a specific file in core for generic triggers (right now with a single one), how about adding this one to it? -- Alvaro Herrera http://www.PlanetPostgreSQL.org/ "Cuando mañana llegue pelearemos segun lo que mañana exija" (Mowgli)
В списке pgsql-hackers по дате отправления: