Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sFOBO-001pqb-VO for pgsql-admin@arkaria.postgresql.org; Fri, 07 Jun 2024 01:14:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sFOBM-005na7-SJ for pgsql-admin@arkaria.postgresql.org; Fri, 07 Jun 2024 01:14:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sFOBM-005nZz-HS for pgsql-admin@lists.postgresql.org; Fri, 07 Jun 2024 01:14:17 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sFOBK-00051c-ML for pgsql-admin@lists.postgresql.org; Fri, 07 Jun 2024 01:14:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 4571ECVG1167643; Thu, 6 Jun 2024 21:14:12 -0400 From: Tom Lane To: Ron Johnson cc: "pgsql-admin@lists.postgresql.org" Subject: Re: How to find the view modified date and time and user name In-reply-to: References: Comments: In-reply-to Ron Johnson message dated "Thu, 06 Jun 2024 20:47:06 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1167641.1717722852.1@sss.pgh.pa.us> Date: Thu, 06 Jun 2024 21:14:12 -0400 Message-ID: <1167642.1717722852@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ron Johnson writes: > What matters is that the DBA can see "ah, Bob altered table foo last > Thursday at 14:30. Let's check the log file to see what he did." I'm not finding that argument terribly convincing. If you have a DDL log file, you can grep it to find the last change (and the ones before that, in case it was Alice's fault not Bob's). If you don't have such a log file, how much does a last-changed timestamp really help you? regards, tom lane