| От | Bruno Wolff III |
|---|---|
| Тема | Re: Latest transcation |
| Дата | |
| Msg-id | 20030619103029.GA10782@wolff.to обсуждение |
| Ответ на | Latest transcation ("Anagha Joshi" <ajoshi@nulinkinc.com>) |
| Список | pgsql-admin |
On Thu, Jun 19, 2003 at 10:46:22 +0530, Anagha Joshi <ajoshi@nulinkinc.com> wrote: > Hi All, > Is there any way to know programatically which is the latest > insert/update occured to a particular table? > What are the values which are inserted/updated to that table? That depends on what you really are trying to do. It sounds like using a sequnce, nextval and currval might work. That could be used to track the latest change in one session. If you try to look at the latest change to a table accross all sessions, things get a bit murky. A more precise description of what you are trying to do might result in some other suggestions.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера