Re: get last timestamp of table ddl

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: depesz(at)depesz(dot)com
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: get last timestamp of table ddl
Date: 2021-11-24 17:20:02
Message-ID: CAKoxK+5R2pzqRrjY2AXap-Etm+gEY1FYsK6krVMTsM=Qbh27FQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Nov 24, 2021 at 3:09 PM hubert depesz lubaczewski
<depesz(at)depesz(dot)com> wrote:
> You could add event triggers to achieve similar functionality.
> https://www.depesz.com/2012/07/29/waiting-for-9-3-event-triggers/
> and
> https://www.postgresql.org/docs/current/sql-createeventtrigger.html

Thanks, I was ware of event triggers, and of course it is pretty much
the same approach I see (quite often) in "userland" to track (audit)
changes in data: I mean a table trigger that logs some data change.
However, I was curious about already available ways to do that.

Luca

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Luca Ferrari 2021-11-24 17:21:27 Re: get last timestamp of table ddl
Previous Message Adrian Klaver 2021-11-24 17:16:55 Re: RPM package issue