pgsql: Revert "Prevent running pg_basebackup as root" - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Revert "Prevent running pg_basebackup as root"
Date
Msg-id E1izsqN-00079S-CR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dcddc3f813ff39d0e33c2b7c77092a6c0b0e9d0b

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 16 ----------------
1 file changed, 16 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Revert "Add GUC checks for ssl_min_protocol_version and ssl_max_
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Prevent running pg_basebackup as root