Re: Pasword expiration warning
| От | Nathan Bossart |
|---|---|
| Тема | Re: Pasword expiration warning |
| Дата | |
| Msg-id | aYOqhR9fKC8hdir3@nathan обсуждение исходный текст |
| Ответ на | Re: Pasword expiration warning (Zsolt Parragi <zsolt.parragi@percona.com>) |
| Ответы |
Re: Pasword expiration warning
|
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: