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"


Reply via email to