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

From Josh Berkus
Subject Re: Auto-updated fields
Date
Msg-id 200805081033.26220.josh@agliodbs.com
Whole thread Raw
In response to Auto-updated fields  (David Fetter <david@fetter.org>)
List pgsql-hackers
DF,

> 2.  Have some kind of pre-processing of CREATE and ALTER statements on
> tables which would attach the above function to the field at hand,
> something like:
>
> CREATE TABLE foo(
>     last_updated TIMESTAMPTZ_UPDATED(),

So you're suggesting a user-definable version of SERIAL?

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Execution Plan Cost
Next
From: Josh Berkus
Date:
Subject: Re: Posting to hackers and patches lists