Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Tatsuo Ishii <ishii(at)postgresql(dot)org>, jian(dot)universality(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').
Date: 2026-06-18 14:46:14
Message-ID: ajQDxLPPmpp9RuGU@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"Entristecido, Wutra (canción de Las Barreras)
echa a Freyr a rodar
y a nosotros al mar"

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2026-06-18 14:51:45 Re: implement CAST(expr AS type FORMAT 'template')
Previous Message Nathan Bossart 2026-06-18 14:34:24 Re: fix prev link in docs