public inbox for [email protected]
help / color / mirror / Atom feedFrom: Gilles Darold <[email protected]>
To: songjinzhou <[email protected]>
To: Japin Li <[email protected]>
To: Gilles Darold <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Cc: Andrew Dunstan <[email protected]>
Cc: Bossart, Nathan <[email protected]>
Cc: Tom Lane <[email protected]>
Subject: Re: Pasword expiration warning
Date: Wed, 7 Jan 2026 15:56:32 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<MEAPR01MB3031B4F594E62343BF1F8EDBB684A@MEAPR01MB3031.ausprd01.prod.outlook.com>
<[email protected]>
Le 07/01/2026 à 09:37, songjinzhou a écrit :
> Hello fellow hackers, I've refined the print information based on the japin code above, but otherwise remained unchanged. The result is as follows:
>
> [postgres@localhost:~/test/bin]$ ./psql -p 5432 -U test_user2 -d postgres
> Password for user test_user2:
> 2026-01-07 00:28:25.999 PST [82198] WARNING: your password will expire in 7 hours and 31 minutes
> WARNING: your password will expire in 7 hours and 31 minutes
> psql (19devel)
> Type "help" for help.
>
>
> postgres=> \q
> [postgres@localhost:~/test/bin]$ ./psql -p 5432 -U test_user3 -d postgres
> Password for user test_user3:
> 2026-01-07 00:28:33.998 PST [82282] WARNING: your password will expire in 2 days and 7 hours
> WARNING: your password will expire in 2 days and 7 hours
> psql (19devel)
> Type "help" for help.
>
>
> postgres=> \q
> [postgres@localhost:~/test/bin]$
>
>
> Thanks
>
> songjinzhou
> [email protected]
>
I'm not in favor of a higher granularity like explained in my previous
answer, I don't see it as a countdown to the second. But why not if
there's more people in favor of a more detailed remaining time, your
improvement will be welcome.
view thread (5+ 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]
Subject: Re: Pasword expiration warning
In-Reply-To: <[email protected]>
* 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