Re: FileFallocate misbehaving on XFS

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: FileFallocate misbehaving on XFS
Дата
Msg-id CA+TgmoZv7G57yRhHH4cdRPBnqkOrg6T-FZgExtwz263MpVRZHA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: FileFallocate misbehaving on XFS  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Mon, Dec 16, 2024 at 12:52 PM Andres Freund <andres@anarazel.de> wrote:
> I don't see what we gain by requiring guesswork (what does allocating vs
> zeroing mean, zeroing also allocates disk space after all) to interpret the
> main error message. My experience is that it's often harder to get the DETAIL
> than the actual error message (grepping becomes harder due to separate line,
> terse verbosity is commonly used).

I feel like the normal way that we do this is basically:

could not {name of system call} file "\%s\": %m

e.g.

could not read file \"%s\": %m

I don't know why we should do anything else in this type of case.

--
Robert Haas
EDB: http://www.enterprisedb.com



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