On Thu, Jun 18, 2026 at 11:46 PM Álvaro Herrera <[email protected]> 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: v3-0001-Refine-error-reporting-for-null-treatment-on-non-.patch
Description: Binary data

Reply via email to