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

From Magnus Hagander
Subject [COMMITTERS] pgsql: Use an enum instead of two bools to indicate wal inclusion inba
Date
Msg-id E1cQbVX-0000jC-2O@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Get rid of ParseState.p_value_substitute;use a columnref hook i
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Expand the regression tests for PL/Tcl.