Revert "Prevent running pg_basebackup as root"

Michael Paquier <michael@paquier.xyz>

Commit: dcddc3f813ff39d0e33c2b7c77092a6c0b0e9d0b
Author: Michael Paquier <michael@paquier.xyz>
Date: 2020-02-07T01:51:17Z
Releases: 13.0
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.GW3195@tamriel.snowman.net

Files

PathChange+/−
src/bin/pg_basebackup/pg_basebackup.c modified +0 −16

Discussion