Re: table change

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: table change
Дата
Msg-id 1178909801.24902.84.camel@dogma.v10.wvs
обсуждение исходный текст
Ответ на table change  ("Darren Bird" <darrenlbird@gmail.com>)
Список pgsql-general
On Wed, 2007-05-09 at 14:20 +0100, Darren Bird wrote:
> Is there a way of asking Postgresql if a particular table was changed
> without going back through the logs - like a last modified flag or
> even just a changed flag?

If the table change caused a rewrite of the table it will have a new
relfilenode (and a new file in the data directory).

You might look at that file's creation time. This will not catch all
modifications to the table.

Hope that helps,
    Jeff Davis


В списке pgsql-general по дате отправления:

Предыдущее
От: Geoffrey
Дата:
Сообщение: Re: Fault Tolerant Postgresql (two machines, two postmasters, one disk array)
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: UTF-8 to ASCII