From 91c5a8caaa61055959aa5fb68a00e5f690e39a34 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 31 Mar 2021 09:15:51 +0200 Subject: Add errhint_plural() function and make use of it Similar to existing errmsg_plural() and errdetail_plural(). Some errhint() calls hadn't received the proper plural treatment yet. --- doc/src/sgml/sources.sgml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/sources.sgml b/doc/src/sgml/sources.sgml index 62cf2fded40..3f2c40b7509 100644 --- a/doc/src/sgml/sources.sgml +++ b/doc/src/sgml/sources.sgml @@ -282,6 +282,14 @@ ereport(ERROR, errmsg. + + + errhint_plural(const char *fmt_singular, const char *fmt_plural, + unsigned long n, ...) is like errhint, but with + support for various plural forms of the message. + For more information see . + + errcontext(const char *msg, ...) is not normally called -- cgit v1.2.3