Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1od3Ff-0003df-7Y for pgsql-general@arkaria.postgresql.org; Tue, 27 Sep 2022 05:35:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1od3Fc-0005Jq-S4 for pgsql-general@arkaria.postgresql.org; Tue, 27 Sep 2022 05:35:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1od3Fc-0005Jg-Ha for pgsql-general@lists.postgresql.org; Tue, 27 Sep 2022 05:35:24 +0000 Received: from merlin.spider-net.de ([85.214.229.243]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1od3FW-0007n5-9L for pgsql-general@lists.postgresql.org; Tue, 27 Sep 2022 05:35:23 +0000 Received: from [10.0.2.15] (i59F7AC40.versanet.de [89.247.172.64]) by merlin.spider-net.de (Postfix) with ESMTPSA id 0162F1E1EC2 for ; Tue, 27 Sep 2022 05:35:06 +0000 (UTC) Message-ID: <7ee8cc7f-af9d-43ef-c5f0-cea150798a3f@andreas.spider-net.de> Date: Tue, 27 Sep 2022 07:35:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: Findout long unused tables in database Content-Language: de-DE To: pgsql-general@lists.postgresql.org References: <3d837584-aca0-a8c1-a78b-442071ec723f@andreas.spider-net.de> From: =?UTF-8?Q?Andreas_Fr=c3=b6de?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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