public inbox for [email protected]
help / color / mirror / Atom feedFrom: Nathan Bossart <[email protected]>
To: Zsolt Parragi <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: Gilles Darold <[email protected]>
Cc: Japin Li <[email protected]>
Cc: Yuefei Shi <[email protected]>
Cc: songjinzhou <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Cc: Andrew Dunstan <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: liu xiaohui <[email protected]>
Cc: Steven Niu <[email protected]>
Subject: Re: Pasword expiration warning
Date: Wed, 4 Feb 2026 14:22:29 -0600
Message-ID: <aYOqhR9fKC8hdir3@nathan> (raw)
In-Reply-To: <CAN4CZFNSqhRbkh_2MaZNysACf1T-A7hW+=t0tQTUX+Mar0_ymA@mail.gmail.com>
References: <aXuehKtwtUXWVFYp@nathan>
<[email protected]>
<aYDZA3r3lG2oKc5D@nathan>
<[email protected]>
<aYDlAhyYkjaEoEm7@nathan>
<aYEJhk83XAqk76dP@nathan>
<aYIUMbyDWobSi94m@nathan>
<[email protected]>
<aYN3EybnG9ym-Swh@nathan>
<CAN4CZFNSqhRbkh_2MaZNysACf1T-A7hW+=t0tQTUX+Mar0_ymA@mail.gmail.com>
On Wed, Feb 04, 2026 at 05:44:06PM +0000, Zsolt Parragi wrote:
> Wouldn't that be more confusing?
>
> The password for role "foo" will expire at 2026-02-05 16:56"
>
> No matter which date format is used, this is harder to understand than
>
> The password for role "foo" will expire in 1 day(s)
Fair enough. The main problem we need to figure out for that approach is
how to handle plurals without "(s)". One option is to move the ereport()
to this function, but as before [0], I'm not sure we want to send a warning
before more of the initialization has completed. Another option could be
to add a new function that checks the expiration time and emits a warning
as needed, and call that at the end of InitPostgres().
[0] https://postgr.es/m/aYEJhk83XAqk76dP%40nathan
--
nathan
view thread (6+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: Pasword expiration warning
In-Reply-To: <aYOqhR9fKC8hdir3@nathan>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox