dbTalk Databases Forums  

Knowing when a row was last updated

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss Knowing when a row was last updated in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Antony Paul
 
Posts: n/a

Default Knowing when a row was last updated - 11-17-2004 , 08:13 AM






Hi all,
Is it possible to know when a row was last updated. Using 7.3.3.

rgds
Antony Paul

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
  #2  
Old   
Michael Fuhr
 
Posts: n/a

Default Re: Knowing when a row was last updated - 11-17-2004 , 08:33 AM






On Wed, Nov 17, 2004 at 07:43:31PM +0530, Antony Paul wrote:

Quote:
Is it possible to know when a row was last updated. Using 7.3.3.
Add a TIMESTAMP or TIMESTAMP WITH TIME ZONE column to the table and
use a trigger to update it.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.