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

Jim Nasby <jim.nasby@openscg.com>

From: Jim Nasby <jim.nasby@openscg.com>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Yugo Nagata <nagata@sraoss.co.jp>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-03-10T13:14:58Z
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


Commits

  1. Make VACUUM VERBOSE report the number of skipped frozen pages.

  2. Allow vacuums to report oldestxmin