Обсуждение: [COMMITTERS] pgsql: Use an enum instead of two bools to indicate wal inclusion inba

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Use an enum instead of two bools to indicate wal inclusion inba

От
Magnus Hagander
Дата:
Use an enum instead of two bools to indicate wal inclusion in base backups

This makes the code easier to read as it becomes more explicit what the
different allowed combinations really are.

Suggested by Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/534b6f3ef29a11d19deeef6cef3bc8d4984de3c8

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 38 ++++++++++++++++++++---------------
1 file changed, 22 insertions(+), 16 deletions(-)