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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers