Re: Report the number of skipped frozen pages by manual VACUUM

From: Jim Nasby <jim(dot)nasby(at)openscg(dot)com>
To: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Cc: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Report the number of skipped frozen pages by manual VACUUM
Date: 2017-03-10 13:14:58
Message-ID: cc154ea5-5a78-613d-f515-307e6d092d34@openscg.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/10/17 5:08 AM, Masahiko Sawada wrote:
>> BTW, I think there's already a function that handles the pluralization for
>> you. IIRC it's one of the things you can add to an ereport() call.
> What is the function name?

A quick `git grep plural` shows errdetail_plural and errmsg_plural.
--
Jim Nasby, Chief Data Architect, OpenSCG
http://OpenSCG.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2017-03-10 13:34:01 Re: PATCH: Configurable file mode mask
Previous Message Stephen Frost 2017-03-10 13:12:51 Re: PATCH: Configurable file mode mask