]> granicus.if.org Git - postgresql/commit
Use an enum instead of two bools to indicate wal inclusion in base backups
authorMagnus Hagander <magnus@hagander.net>
Mon, 9 Jan 2017 15:03:47 +0000 (16:03 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 9 Jan 2017 15:03:47 +0000 (16:03 +0100)
commit534b6f3ef29a11d19deeef6cef3bc8d4984de3c8
tree3d6b840bb6f6c5d3b7fc5961a4b22775a10f1ac3
parent7c3abe3c92fd3a14a70bc2f888f936cd6fe28c0f
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
src/bin/pg_basebackup/pg_basebackup.c