Re: pgbench - use pg logging capabilities

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: pgbench - use pg logging capabilities
Дата
Msg-id alpine.DEB.2.21.2001012219590.23377@pseudo
обсуждение исходный текст
Ответ на Re: pgbench - use pg logging capabilities  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: pgbench - use pg logging capabilities
Список pgsql-hackers
Hello Peter,

> The patch seems pretty straightforward, but this
>
> +/*
> + * Convenient shorcuts
> + */
> +#define fatal pg_log_fatal
> +#define error pg_log_error
> +#define warning pg_log_warning
> +#define info pg_log_info
> +#define debug pg_log_debug
>
> seems counterproductive.  Let's just use the normal function names.

I'm trying to keep the column width under control, but if you like it 
wider, here it is.

Compared to v1 I have also made a few changes to be more consistent when 
using fatal/error/info.

-- 
Fabien.
Вложения

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench - use pg logging capabilities
Следующее
От: John Naylor
Дата:
Сообщение: Re: reduce size of fmgr_builtins array