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

From Álvaro Herrera
Subject Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').
Date
Msg-id ajQDxLPPmpp9RuGU@alvherre.pgsql
Whole thread
Responses Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').
List 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"



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: fix prev link in docs
Next
From: Robert Haas
Date:
Subject: Re: implement CAST(expr AS type FORMAT 'template')