Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f'). - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').
Date
Msg-id CAHGQGwH-PcHSoTW0yROtAFXLex0ZTWDdr=nwrkoZ1ZyLu-KzTA@mail.gmail.com
Whole thread
In response to Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').
List pgsql-hackers
On Fri, Jun 19, 2026 at 1:12 AM Fujii Masao <masao.fujii@gmail.com> wrote:
>
> On Thu, Jun 18, 2026 at 11:46 PM Álvaro Herrera <alvherre@kurilemu.de> wrote:
> >
> > Hello,
> >
> > I would dearly appreciate it if you could make these errors in this
> > style:
> >
> > ereport(ERROR,
> >         (errcode(ERRCODE_WRONG_OBJECT_TYPE),
> >         /* translator: first %s is a CREATE FUNCTION clause, eg. "IGNORE NULLS" */
> >          errmsg("%s specified, but %s is not a window function",
> >          "RESPECT/IGNORE NULLS", NameListToString(funcname)),
> >          parser_errposition(pstate, location)));
> >
> > to avoid keeping the clause name in the translatable string.
>
> Thanks for the suggestion! I've updated the patch accordingly.
> Patch attached.

Barring any objections, I will commit the patch.

Regards,

--
Fujii Masao



pgsql-hackers by date:

Previous
From: Sutou Kouhei
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
Next
From: Christophe Pettus
Date:
Subject: Re: The PostgreSQL C Dialect