pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Dominique Devienne <ddevienne@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Is it possible to keep track of SELECTs?
Date: Tue, 12 Mar 2024 17:29:41 +0100
Message-ID: <202403121629.ukxkmq4vldhm@alvherre.pgsql> (raw)
In-Reply-To: <CAFCRh--Ar40hz6rA5HdyS2dmTaMeOPPHm9M-AJDHpuYsYz+YvQ@mail.gmail.com>

On 2024-Mar-12, Dominique Devienne wrote:

> So is it possible to track the last time a SELECT was performed on some
> TABLE?

Perhaps you could use the pgAudit module for this purpose.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/





view thread (5+ messages)

Message-ID: <202403121629.ukxkmq4vldhm@alvherre.pgsql>
Permalink:  ../202403121629.ukxkmq4vldhm@alvherre.pgsql/
Also on:    postgresql.org/message-id/202403121629.ukxkmq4vldhm@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: alvherre@alvh.no-ip.org, ddevienne@gmail.com
  Subject: Re: Is it possible to keep track of SELECTs?
  In-Reply-To: <202403121629.ukxkmq4vldhm@alvherre.pgsql>
  References: <CAFCRh--Ar40hz6rA5HdyS2dmTaMeOPPHm9M-AJDHpuYsYz+YvQ@mail.gmail.com> <202403121629.ukxkmq4vldhm@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox