| From: | Japin Li <japinli(at)hotmail(dot)com> |
|---|---|
| To: | Gilles Darold <gilles(at)darold(dot)net> |
| Cc: | songjinzhou <tsinghualucky912(at)foxmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "Bossart, Nathan" <bossartn(at)amazon(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, liu xiaohui <liuxh(dot)zj(dot)cn(at)gmail(dot)com> |
| Subject: | Re: Pasword expiration warning |
| Date: | 2026-01-09 02:31:30 |
| Message-ID: | MEAPR01MB303142AEB3F47886C171194EB682A@MEAPR01MB3031.ausprd01.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, 08 Jan 2026 at 13:31, Gilles Darold <gilles(at)darold(dot)net> wrote:
> Le 08/01/2026 à 10:27, Japin Li a écrit :
>> We should probably use guc-password-expire-warning as the ID, since the GUC is
>> named password_expire_warning (singular).
>
> Patch updated.
>
Thanks for updating the patch.
I noticed that src/backend/libpq/crypt.c no longer needs "postmaster/postmaster.h",
so I've removed it in v8.
I've also added a TAP test for the new GUC parameter. The updated patch is attached.
--
Regards,
Japin Li
ChengDu WenWu Information Technology Co., Ltd.
| Attachment | Content-Type | Size |
|---|---|---|
| v8-0001-Add-password_expire_warning-GUC-to-warn-clients.patch | text/x-diff | 7.7 KB |
| v8-0002-Add-TAP-test-for-password_expire_warning.patch | text/x-diff | 1.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chao Li | 2026-01-09 02:58:27 | Re: pg_upgrade: optimize replication slot caught-up check |
| Previous Message | Shinya Kato | 2026-01-09 02:19:14 | Re: Use IsA() macro instead of nodeTag comparison |