Re: Tighten error control for OpenTransientFile/CloseTransientFile

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Tighten error control for OpenTransientFile/CloseTransientFile
Дата
Msg-id CA+TgmoYb00PYSVQc5L-DGjq91DXfimCevr0_mL8fcbbNpe58Kg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Tighten error control for OpenTransientFile/CloseTransientFile  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
On Fri, Mar 1, 2019 at 5:06 PM Joe Conway <mail@joeconway.com> wrote:
> Seems like it would be better to modify the arguments to
> CloseTransientFile() to include the filename being closed, errorlevel,
> and fail_on_error or something similar. Then all the repeated ereport
> stanzas could be eliminated.

Hmm.  I'm not sure that really saves much in terms of notation, and
it's less flexible.

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


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Binary upgrade from <12 to 12 creates toast table for partitionedtables
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Making all nbtree entries unique by having heap TIDs participatein comparisons