on update set default - Mailing list pgsql-general

From Ben-Nes Michael
Subject on update set default
Date
Msg-id 002a01c180b8$6b774180$aa0f5ac2@canaan.co.il
Whole thread Raw
List pgsql-general
Hi All

Im want that on each insert, update to a table the column:
changed_on TIMESTAMP DEFAULT now()
will be set to now();

any one can hint me ?
I tried few rulles and triggers for hours with no luck :(

--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6991122
http://sites.canaan.co.il
--------------------------



pgsql-general by date:

Previous
From: Tommi Mäkitalo
Date:
Subject: Re: Database permissions
Next
From: Doug McNaught
Date:
Subject: Re: on update set default