From: | "P(dot)V(dot) Subramanian" <pvsmian(at)hotmail(dot)com> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | How to find out that a record has been updated |
Date: | 2001-10-05 18:52:25 |
Message-ID: | F1872rZBtFk3NNTp0m6000055eb@hotmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Hi all
I have an application that reads the contents of a few tables every 2 hours.
If no new records have been added, and if no updates to existing records
have been made in the last 2 hours, the app does nothing.
If some records have been updated or added, the app does some work, and
marks the record as processed.
Currently anyone updating a record is expected to mark it manually as
needing processing. Otherwise the application doesn't know.
Is there a better, more user friendly way, for the app to automatically find
out which records have been updated. Maybe a column that has a time field
that Postgres can update to "now" each time an update is made?
Thanks
PVS
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From | Date | Subject | |
---|---|---|---|
Next Message | P.V. Subramanian | 2001-10-05 18:56:10 | The mystery of concurrent access |
Previous Message | Jason Earl | 2001-10-05 18:08:12 | Re: enum problem |