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 CAHGQGwHuPmN+wF7r8zztyBRTJ6Ziq6M1uy2AOO9rPFQKBK+Caw@mail.gmail.com
Whole thread
In response to Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').  (Álvaro Herrera <alvherre@kurilemu.de>)
Responses Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').
List pgsql-hackers
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.

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: AW: PG19beta1: GCC 16.1.1 warning: ‘actual_arg_types’ may be used uninitialized in clauses.c
Next
From: Fujii Masao
Date:
Subject: Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').