Re: Fix some error handling for read() and errno

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Fix some error handling for read() and errno
Дата
Msg-id CA+TgmoYiLrLy1kxihwHPn-_7=Ps8OEixMrTn6-Estp_L70dGVQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fix some error handling for read() and errno  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Fix some error handling for read() and errno  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Mon, Jun 11, 2018 at 6:11 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> I would go as far as suggesting to remove qualifiers that indicate what
> the file is for (such as "relation mapping file"); relying on the path
> as indicator of what's going wrong should be sufficient, since it's an
> error that affects internals anyway, not anything that users can do much
> about.  Keep variations to a minimum, to ease translator's work;
> sometimes it's hard enough to come up with good translations for things
> like "relation mapping file" in the first place, and they don't help the
> end user.

+1.  I think those things are often hard to phrase even in English.
It makes the messages long, awkward, and almost invariably the style
differs from one message to the next depending on the author and how
easy it is to describe the type of file involved.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Remove mention in docs that foreign keys on partitioned tablesare not supported
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: Locking B-tree leafs immediately in exclusive mode