1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/src/command
David Steele 31d0fe5f50 Improve log performance, simplify macros, rename logWill() to logAny().
Pre-calculate the value used by logAny() to improve performance and make it more likely to be inlined.

Move IF_LOG_ANY() into LOG_INTERNAL() to simplify the macros and improve performance of LOG() and LOG_PID().  If the message has no chance of being logged there's no reason to call logInternal().

Rename logWill() to logAny() because it seems more intuitive.
2019-05-11 18:20:57 -04:00
..
archive Simplify storage object names. 2019-05-03 15:46:15 -04:00
backup Add configure script for improved multi-platform support. 2019-04-26 08:08:23 -04:00
control Add configure script for improved multi-platform support. 2019-04-26 08:08:23 -04:00
help Improve macros and coverage rules that were hiding missing coverage. 2019-05-11 14:51:51 -04:00
info Add configure script for improved multi-platform support. 2019-04-26 08:08:23 -04:00
local Improve type safety of interfaces and drivers. 2019-05-02 17:52:24 -04:00
remote Simplify storage object names. 2019-05-03 15:46:15 -04:00
command.c Improve log performance, simplify macros, rename logWill() to logAny(). 2019-05-11 18:20:57 -04:00
command.h Enable -Wstrict-prototypes and update all void functions to conform. 2018-08-03 19:19:14 -04:00