Search Postgresql Archives

Re: last tuple affected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Miguel Angel Tribaldos Hervas wrote:
Hi all!

Two related questions about a problem i'm trying to solve:
How can I know the last tuple affected by an insert/update operation per
table??
Is there exists any function in Postgres for retrieving some hash
value from a table??

You don't define what you mean by "last", and it's not a simple thing. You could attach triggers to the tables and have them record changes.


Perhaps tell us what you are trying to do, rather than how you want to do it.
--
Richard Huxton
Archonet Ltd


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux