Re: Remove an unnecessary errmsg_plural in dependency.c

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove an unnecessary errmsg_plural in dependency.c
Date: 2022-03-23 16:39:52
Message-ID: 1a802bab-25c5-2ac4-79a3-563dbf45b5d4@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhihong Yu 2022-03-23 16:42:21 Re: freeing bms explicitly
Previous Message Bharath Rupireddy 2022-03-23 16:33:55 Remove an unnecessary errmsg_plural in dependency.c