| От | Craig Ringer |
|---|---|
| Тема | Re: Last modification time of a database? |
| Дата | |
| Msg-id | 49C8228F.8090501@postnewspapers.com.au обсуждение исходный текст |
| Ответ на | Last modification time of a database? (Erik Jones <ejones@engineyard.com>) |
| Ответы |
Re: Last modification time of a database?
|
| Список | pgsql-general |
Erik Jones wrote: > Am I missing something obvious here? If not, has anyone come up with a > reliable way to do this? Triggers on all your tables that append to a logging table? Have the client do it? Note that you do *NOT* want to have triggers that attempt to UPDATE a table to record the last modified time for that table. They'll cause transactions that touch the same table to block waiting until the first one commits/rolls back, so they'll ruin your concurrency. They may also cause unexpected deadlock aborts of transactions. -- Craig Ringer
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера