Hi
I'm not sure whether there exist some inbuilt methods for lastmodification datetime for a table .
But you can achieve this using triggers.
Let your table name be 'table1' and have one more table 'table_lastupdate_time'. If you insert,delete, or update any data in 'table1' ,
your trigger function should store the details in 'table_lastupdate_time'
Let the new table ('table_lastupdate_time') contain two fields,
1.tablename
2.last_action (timestamp).
The trigger function (on insert , delete or update )should update current_timestamp to the last_action field.
So, in your vc++ application you can retrieve the last_action time from ''table_lastupdate_time' table.
-somaskarthic
Hi,
Is there any way to know when a change in table occurs for a postgresql table to the front end , VC++ ?
Please reply me soon.
Anita