Re: [GENERAL] Generic timestamp function for updates where field names vary

2006-12-30 Thread David Fetter
On Sat, Dec 30, 2006 at 10:33:01AM -0800, novnov wrote: > > The pagila database has generic trigger function called last_updated() (shown > below) which is used to update timestamp columns in various tables. The > reason I can't use the function 'as is' for my own purposes is that in my > app the

[GENERAL] Generic timestamp function for updates where field names vary

2006-12-30 Thread novnov
The pagila database has generic trigger function called last_updated() (shown below) which is used to update timestamp columns in various tables. The reason I can't use the function 'as is' for my own purposes is that in my app the timestamp fields are not all named alike. The field names do follo