Re: pgbench - use pg logging capabilities
От | Peter Eisentraut |
---|---|
Тема | Re: pgbench - use pg logging capabilities |
Дата | |
Msg-id | a2718381-4817-4d06-d7de-a6d6b13cb516@2ndquadrant.com обсуждение исходный текст |
Ответ на | pgbench - use pg logging capabilities (Fabien COELHO <coelho@cri.ensmp.fr>) |
Ответы |
Re: pgbench - use pg logging capabilities
Re: pgbench - use pg logging capabilities |
Список | pgsql-hackers |
On 2019-12-24 11:17, Fabien COELHO wrote: > As suggested in "cce64a51", this patch make pgbench use postgres logging > capabilities. > > I tried to use fatal/error/warning/info/debug where appropriate. > > Some printing to stderr remain for some pgbench specific output. 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. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: