pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Fröde <psql@andreas.spider-net.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Findout long unused tables in database
Date: Tue, 27 Sep 2022 07:35:05 +0200
Message-ID: <7ee8cc7f-af9d-43ef-c5f0-cea150798a3f@andreas.spider-net.de> (raw)
In-Reply-To: <fd9b5d4c8bb625f44d509eb7b9769490f2d5f368.camel@cybertec.at>
References: <3d837584-aca0-a8c1-a78b-442071ec723f@andreas.spider-net.de>
	<fd9b5d4c8bb625f44d509eb7b9769490f2d5f368.camel@cybertec.at>

Hi Laurenz,


> No, there is no way to do that short of logging all statements.

Thank you for the quick if unfortunate reply.

> I expect that removing permissions on a table and checking whether
> your application hits an error is not an option...

I will try to suggest this. :-)

Have a nice day.

Andreas





view thread (6+ messages)  latest in thread

Message-ID: <7ee8cc7f-af9d-43ef-c5f0-cea150798a3f@andreas.spider-net.de>
Permalink:  ../7ee8cc7f-af9d-43ef-c5f0-cea150798a3f@andreas.spider-net.de/
Also on:    postgresql.org/message-id/7ee8cc7f-af9d-43ef-c5f0-cea150798a3f@andreas.spider-net.de

 · 

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: psql@andreas.spider-net.de
  Subject: Re: Findout long unused tables in database
  In-Reply-To: <7ee8cc7f-af9d-43ef-c5f0-cea150798a3f@andreas.spider-net.de>
  References: <3d837584-aca0-a8c1-a78b-442071ec723f@andreas.spider-net.de> <fd9b5d4c8bb625f44d509eb7b9769490f2d5f368.camel@cybertec.at> <7ee8cc7f-af9d-43ef-c5f0-cea150798a3f@andreas.spider-net.de>

* 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