Re: Error logging messages

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: Error logging messages
Дата
Msg-id
b8097bc0-982a-a694-212d-3ac81d97e731@enterprisedb.com
Ответ на
Error logging messages (Daniel Gustafsson)
Список
Дерево обсуждения
Error logging messages Daniel Gustafsson <daniel@yesql.se>
Re: Error logging messages Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Error logging messages Daniel Gustafsson <daniel@yesql.se>
Re: Error logging messages Michael Paquier <michael@paquier.xyz>
Re: Error logging messages Daniel Gustafsson <daniel@yesql.se>
On 13.04.22 13:51, Daniel Gustafsson wrote:
> 0002: Capitalizes pg_log_error_detail and conversely starts pg_log_error with a
> lowercase letter without punctuation.

I'm having some doubts about some of these changes, especially for 
interactive features in psql, where the messages are often use a bit of 
a different style.  I don't think this kind of thing is an improvement, 
for example:

-       pg_log_error("You are currently not connected to a database.");
+       pg_log_error("you are currently not connected to a database");

If we want to be strict about it, we could change the message to

"not currently connected to a database"

But I do not think just chopping of the punctuation and lower-casing the 
first letter of what is after all still a sentence would be an improvement.


В списке pgsql-hackers по дате отправления
От: Euler Taveira
Дата:
FAQ