mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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.
This commit is contained in:
@ -282,6 +282,14 @@ ereport(ERROR,
|
||||
<function>errmsg</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<function>errhint_plural(const char *fmt_singular, const char *fmt_plural,
|
||||
unsigned long n, ...)</function> is like <function>errhint</function>, but with
|
||||
support for various plural forms of the message.
|
||||
For more information see <xref linkend="nls-guidelines"/>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<function>errcontext(const char *msg, ...)</function> is not normally called
|
||||
|
Reference in New Issue
Block a user