Re: pgsql: Remove function names from error messages
От | Tom Lane |
---|---|
Тема | Re: pgsql: Remove function names from error messages |
Дата | |
Msg-id | 13206.1545266551@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: pgsql: Remove function names from error messages (Michael Paquier <michael@paquier.xyz>) |
Ответы |
Re: pgsql: Remove function names from error messages
|
Список | pgsql-committers |
Michael Paquier <michael@paquier.xyz> writes: > On Wed, Dec 19, 2018 at 05:53:48PM +0000, Alvaro Herrera wrote: >> Remove function names from error messages > I am spotting a couple of extra ones for functions: > src/backend/access/transam/xlog.c: > (errmsg("pg_stop_backup cleanup done, waiting for required WAL segments > to be archived"))); > src/backend/access/transam/xlog.c: > (errmsg("pg_stop_backup still waiting for all required WAL segments to > be archived (%d seconds elapsed)", > Perhaps these could be improved as well? Those are at least reporting SQL function names that the user will recognize ... still, we don't normally localize error messages by the reporting function name, so I tend to agree that these are not following the style guide. regards, tom lane
В списке pgsql-committers по дате отправления: