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.96) (envelope-from ) id 1wzSKs-0041dW-2H for pgsql-hackers@arkaria.postgresql.org; Thu, 27 Aug 2026 05:07:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wzSKr-00HV3i-2J for pgsql-hackers@arkaria.postgresql.org; Thu, 27 Aug 2026 05:07:33 +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.96) (envelope-from ) id 1wzSKr-00HV3Y-1L; Thu, 27 Aug 2026 05:07:33 +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.98.2) (envelope-from ) id 1wzSKo-00000002d01-3psp; Thu, 27 Aug 2026 05:07:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 67R57MbJ898257; Thu, 27 Aug 2026 01:07:22 -0400 From: Tom Lane To: Gabriele Bartolini cc: Andres Freund , pgsql-hackers@lists.postgresql.org, Andrew Dunstan , pgsql-hackers Subject: Re: Tracking role modification timestamps in pg_authid / pg_roles In-reply-to: References: <5qh7ejjkh3526tpcjosqulitnvgumj25wsxv7iqjgev3qqoi7g@w73fcwn2ul5l> <9a75f8e0-9078-4637-89ef-96580985d37b@dunslane.net> <55A96680-B215-464B-9451-52F2910BDE83@anarazel.de> Comments: In-reply-to Gabriele Bartolini message dated "Thu, 27 Aug 2026 14:54:51 +1000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <898255.1787807242.1@sss.pgh.pa.us> Date: Thu, 27 Aug 2026 01:07:22 -0400 Message-ID: <898256.1787807242@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Gabriele Bartolini writes: > As promised, I have created an initial proof of concept that adds a > last-updated timestamp to roles, databases, and tablespaces, labelled > `rolupdated`, `datupdated`, and `spcupdated`, respectively. I don't think that limiting this idea to global objects does one single thing to address the problems with the concept, such as what are the semantics for dump/restore. We've discussed modification timestamps for database objects many times in the past, and rejected them every single time. What exactly will be different this time? regards, tom lane