Revert "Prevent running pg_basebackup as root"
authorMichael Paquier <[email protected]>
Fri, 7 Feb 2020 01:51:17 +0000 (10:51 +0900)
committerMichael Paquier <[email protected]>
Fri, 7 Feb 2020 01:51:17 +0000 (10:51 +0900)
commitdcddc3f813ff39d0e33c2b7c77092a6c0b0e9d0b
tree6b56696dfc0114b725b4889693f3caaf94564931
parent414c2fd1e1c0ccd1af1cad046bef1264e3f4347f
Revert "Prevent running pg_basebackup as root"

This reverts commit 7bae0ad, as this is not ideal with the tar format,
and we may want to explore more options like what is done by tar with
some equivalents of --owner and --group, but for pg_basebackup.

Per complaints from Magnus Hagander and Stephen Frost.

Discussion: https://postgr.es/m/20200205172259[email protected]
src/bin/pg_basebackup/pg_basebackup.c