Re: last tuple affected

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: last tuple affected
Дата
Msg-id 41F8D1BA.3000908@archonet.com
обсуждение исходный текст
Ответ на last tuple affected  (Miguel Angel Tribaldos Hervas <mitriher@teleco.upv.es>)
Список 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 по дате отправления:

Предыдущее
От: Paul Thomas
Дата:
Сообщение: Re: Numeric type
Следующее
От: Miguel Angel Tribaldos Hervas
Дата:
Сообщение: Re: last tuple affected