Re: Record last SELECT on a row?

From: Matthias Leisi <matthias(at)leisi(dot)net>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Record last SELECT on a row?
Date: 2025-12-17 16:25:10
Message-ID: E680D170-8CDB-47B6-9354-2DF8FF7CB1ED@leisi.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general


> pgaudit might satisfy your needs, since it would only log SELECT statements on that one table. You'd still have to grep the log file, so the information wouldn't be real-time, but that's probably not important.

That’s a viable suggestion, thanks a lot. Real-time is indeed not necessary, a daily (or even a weekly) cleaning of unused data is sufficient. pgaudit was anyway on the table for some other use cases, so that would fit in nicely.

Thanks,
— Matthias

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-12-17 16:31:34 Re: wal segment size
Previous Message Colin 't Hart 2025-12-17 16:10:19 Re: wal segment size