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

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема [COMMITTERS] pgsql: Use an enum instead of two bools to indicate wal inclusion inba
Дата
Msg-id E1cQbVX-0000jC-2O@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Get rid of ParseState.p_value_substitute;use a columnref hook i
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Expand the regression tests for PL/Tcl.