Re: last tuple affected - Mailing list pgsql-general

From Richard Huxton
Subject Re: last tuple affected
Date
Msg-id 41F8D1BA.3000908@archonet.com
Whole thread Raw
In response to last tuple affected  (Miguel Angel Tribaldos Hervas <mitriher@teleco.upv.es>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Paul Thomas
Date:
Subject: Re: Numeric type
Next
From: Miguel Angel Tribaldos Hervas
Date:
Subject: Re: last tuple affected