Re: Pasword expiration warning

From: Gilles Darold <gilles(at)darold(dot)net>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>, Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Cc: Japin Li <japinli(at)hotmail(dot)com>, Yuefei Shi <shiyuefei1004(at)gmail(dot)com>, songjinzhou <tsinghualucky912(at)foxmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, liu xiaohui <liuxh(dot)zj(dot)cn(at)gmail(dot)com>, Steven Niu <niushiji(at)gmail(dot)com>
Subject: Re: Pasword expiration warning
Date: 2026-01-30 11:33:54
Message-ID: 197512e0-8116-4776-a600-822d29ee68a6@darold.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here a new v12 version of the patch. Changes are the following:

- Add more precision to the time remaining with format '%d day(s)
%02dh%02dm'.

- Change GUC maximum value limit from 30d to INT_MAX

- Add comment to struct SerializedClientConnectionInfo explaining why
the warning_message variable is not reported from
struct ClientConnectionInfo.

- Use TIMESTAMP_INFINITY instead of PG_INT64_MAX to check Infinity value
for rolvaliduntil.

- Fix 2 typo.

- Update TAP tests to reflect the time format change.

--
Gilles Darold
http://hexacluster.ai/

Attachment Content-Type Size
v12-0002-Add-TAP-test-for-password_expire_warning.patch text/x-patch 2.4 KB
v12-0001-Add-password_expire_warning-GUC-to-warn-clients.patch text/x-patch 8.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2026-01-30 11:36:42 Re: ABI Compliance Checker GSoC Project
Previous Message Jelte Fennema-Nio 2026-01-30 11:28:04 Change default of jit to off