Re: Remove an unnecessary errmsg_plural in dependency.c - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Remove an unnecessary errmsg_plural in dependency.c
Date
Msg-id 1a802bab-25c5-2ac4-79a3-563dbf45b5d4@enterprisedb.com
Whole thread Raw
In response to Remove an unnecessary errmsg_plural in dependency.c  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: Remove an unnecessary errmsg_plural in dependency.c
List pgsql-hackers
On 23.03.22 17:33, Bharath Rupireddy wrote:
> It looks like the following errmsg_plural in dependency.c is
> unnecessary as numReportedClient > 1 always and numNotReportedClient
> can never be < 0. Therefore plural version of the error message is
> sufficient. Attached a patch to fix it.

Some languages have more than two forms, so we still need to keep this 
to handle those.



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Remove an unnecessary errmsg_plural in dependency.c
Next
From: Zhihong Yu
Date:
Subject: Re: freeing bms explicitly