Re: Some code cleanup for pgbench and pg_verifybackup

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Some code cleanup for pgbench and pg_verifybackup
Дата
Msg-id YP+uAQZRXutljVeV@paquier.xyz
обсуждение исходный текст
Ответ на Re: Some code cleanup for pgbench and pg_verifybackup  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: Some code cleanup for pgbench and pg_verifybackup
Список pgsql-hackers
On Tue, Jul 27, 2021 at 06:36:15AM +0200, Fabien COELHO wrote:
> I do not understand your disagreement. Do you disagree about the expected
> semantics of fatal? Then why provide fatal if it should not be used?
> What is the expected usage of fatal?

I disagree about the fact that pgbench uses pg_log_fatal() in ways
that other binaries don't do.  For example, other things use
pg_log_error() followed by an exit(), but not this code.  I am not
going to fight hard on that, though.

That's a set of inconsistences I bumped into while plugging in
option_parse_int() within pgbench.
--
Michael

Вложения

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

Предыдущее
От: Greg Nancarrow
Дата:
Сообщение: Re: Slim down integer formatting
Следующее
От: Ajin Cherian
Дата:
Сообщение: Re: Failed transaction statistics to measure the logical replication progress