pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Tracking role modification timestamps in pg_authid / pg_roles
Date: Thu, 27 Aug 2026 01:07:22 -0400
Message-ID: <898256.1787807242@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+VUV5rnekDM1-JySMBd4jEAB-WmsAKV9GxSfLHjSgq8dTKqzw@mail.gmail.com>
References: <CA+VUV5pyUB-sXUCxnOATJdE_XDdos6rAgW5wPVTz-0AT8bLuGw@mail.gmail.com>
	<5qh7ejjkh3526tpcjosqulitnvgumj25wsxv7iqjgev3qqoi7g@w73fcwn2ul5l>
	<9a75f8e0-9078-4637-89ef-96580985d37b@dunslane.net>
	<55A96680-B215-464B-9451-52F2910BDE83@anarazel.de>
	<CA+VUV5pV_Xc61iZX4UkSRL4+09vhTy1kcds2tpSuUSSC2zzTNQ@mail.gmail.com>
	<CA+VUV5rnekDM1-JySMBd4jEAB-WmsAKV9GxSfLHjSgq8dTKqzw@mail.gmail.com>

Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> 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






view thread (9+ messages)  latest in thread

Message-ID: <898256.1787807242@sss.pgh.pa.us>
Permalink:  ../898256.1787807242@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/898256.1787807242@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gabriele.bartolini@enterprisedb.com, andres@anarazel.de, andrew@dunslane.net
  Subject: Re: Tracking role modification timestamps in pg_authid / pg_roles
  In-Reply-To: <898256.1787807242@sss.pgh.pa.us>
  References: <CA+VUV5pyUB-sXUCxnOATJdE_XDdos6rAgW5wPVTz-0AT8bLuGw@mail.gmail.com> <5qh7ejjkh3526tpcjosqulitnvgumj25wsxv7iqjgev3qqoi7g@w73fcwn2ul5l> <9a75f8e0-9078-4637-89ef-96580985d37b@dunslane.net> <55A96680-B215-464B-9451-52F2910BDE83@anarazel.de> <CA+VUV5pV_Xc61iZX4UkSRL4+09vhTy1kcds2tpSuUSSC2zzTNQ@mail.gmail.com> <CA+VUV5rnekDM1-JySMBd4jEAB-WmsAKV9GxSfLHjSgq8dTKqzw@mail.gmail.com> <898256.1787807242@sss.pgh.pa.us>

* 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