Re: Pasword expiration warning

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Jacob Champion <jacob.champion@enterprisedb.com>
Cc: Zsolt Parragi <zsolt.parragi@percona.com>, Peter Eisentraut <peter@eisentraut.org>, Gilles Darold <gilles@darold.net>, Japin Li <japinli@hotmail.com>, Yuefei Shi <shiyuefei1004@gmail.com>, songjinzhou <tsinghualucky912@foxmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Andrew Dunstan <andrew@dunslane.net>, Tom Lane <tgl@sss.pgh.pa.us>, liu xiaohui <liuxh.zj.cn@gmail.com>, Steven Niu <niushiji@gmail.com>, Euler Taveira <euler@eulerto.com>
Date: 2026-02-04T21:00:03Z
Lists: pgsql-hackers
On Wed, Feb 04, 2026 at 12:56:18PM -0800, Jacob Champion wrote:
> On Wed, Feb 4, 2026 at 12:22 PM Nathan Bossart <nathandbossart@gmail.com> wrote:
>> Fair enough.  The main problem we need to figure out for that approach is
>> how to handle plurals without "(s)".
> 
> Euler pointed out upthread that the _() call should be replaced with
> ngettext(). Or is there a reason you need the more complicated
> errmsg_plural() machinery?

Ah, that's what I was looking for, thanks.  I missed that earlier message.

-- 
nathan



Commits

  1. Add password expiration warnings.