declare column update expression - Mailing list pgsql-general

From Chris Velevitch
Subject declare column update expression
Date
Msg-id b0a3bf780809110035x1d63a6bcs6bcfc79af7a07e4e@mail.gmail.com
Whole thread Raw
Responses Re: declare column update expression
Re: declare column update expression
Re: declare column update expression
List pgsql-general
In 7.4, how do I declare that a column in a table is to be
automatically set to the value of some fixed expression whenever a row
is updated?

Eg column last_modified is always set to current_timestamp



Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
September meeting: It's Going To Be Brilliant
Date: Mon 29th September 6pm for 6:30 start
Details and RSVP on http://apugs2008september.eventbrite.com

pgsql-general by date:

Previous
From: "Dave Page"
Date:
Subject: Re: postgres user account on OSX
Next
From: Dean Rasheed
Date:
Subject: Re: No error when column doesn't exist