Re: Pasword expiration warning - Mailing list pgsql-hackers

From songjinzhou
Subject Re: Pasword expiration warning
Date
Msg-id tencent_8C7890411E85257F512EFE4F0DD00EE29806@qq.com
Whole thread Raw
In response to Re: Pasword expiration warning  (Japin Li <japinli@hotmail.com>)
Responses Re: Pasword expiration warning
List pgsql-hackers
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
tsinghualucky912@foxmail.com


Attachment

pgsql-hackers by date:

Previous
From: albert tan
Date:
Subject: Re: Correct comment wording in extension.c
Next
From: Chao Li
Date:
Subject: Re: Refactor replication origin state reset helpers