Re: Way to quickly detect if database tables/columns/etc. were modified?

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Way to quickly detect if database tables/columns/etc. were modified?
Date: 2016-10-31 13:48:49
Message-ID: 20161031134849.66ircfmevfpbl7s6@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 31, 2016 at 09:14:07AM -0400, Melvin Davidson wrote:

>> Maybe create an event trigger that updates a simple table with the last
>> modification time or sends a notification?
...
> That would certainly work, but
> the problem is, that trigger would have to be created for every table in
> the database. When you have more than a couple dozen tables, as in
> hundreds, it becsmes a huge undertaking.*--

Well, it could be generated.

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rakesh Kumar 2016-10-31 13:59:00 How is Greenplum's partitioning different from PG's inheritance
Previous Message Adrian Klaver 2016-10-31 13:41:09 Re: Rows are repeating by the trigger function