pgsql: Revert "Prevent running pg_basebackup as root"

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert "Prevent running pg_basebackup as root"
Date: 2020-02-07 01:54:07
Message-ID: E1izsqN-00079S-CR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-02-07 01:55:30 Re: pgsql: Prevent running pg_basebackup as root
Previous Message Michael Paquier 2020-02-06 23:11:59 pgsql: Revert "Add GUC checks for ssl_min_protocol_version and ssl_max_