Re: How to know a table has been modified?

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: How to know a table has been modified?
Дата
Msg-id m2boo9fmko.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на How to know a table has been modified?  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
> I'm working on implementing query cache in pgpool-II. I want to know
> if a table has been modified because pgpool-II has to invalidate cache
> if corresponding table is modified. For DDL/DML it would be doable
> since pgpool-II knows all SQLs sent from clients. Problem is, implicit
> table modifications done by CASCADE, TRIGGERS and so on.

Some of that (triggers) is provided in the command triggers patch. The
CASCADE not so much but your command trigger will get called on the
top-level object.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Command Triggers, patch v11
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [9.2] Confusion over CacheRegisterSyscacheCallback