Re: How to know if a database has changed

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: How to know if a database has changed
Дата
Msg-id 20171211165824.GA31480@hermes.hilbert.loc
обсуждение исходный текст
Ответ на How to know if a database has changed  (marcelo <marcelo.nicolet@gmail.com>)
Список pgsql-general
On Mon, Dec 11, 2017 at 01:48:44PM -0300, marcelo wrote:

> The installation I'm planning will manage several databases, but not all of
> them will change every day.
> In order to planning/scripting the pg_dump usage, I would need to know which
> databases had some change activity at the end of some day.
> How can it be done?

Implement INSERT/UPDATE/DELETE/TRUNCATE triggers on all
tables and DDL triggers on CREATE, ALTER, DROP, SECURITY
LABEL, COMMENT, GRANT or REVOKE.

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


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

Предыдущее
От: marcelo
Дата:
Сообщение: pg_dump and logging
Следующее
От: Walter Nordmann
Дата:
Сообщение: Re: How to know if a database has changed