pgsql: Make sure pg_rewind can't run as root

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make sure pg_rewind can't run as root
Date: 2018-04-09 19:36:41
Message-ID: E1f5can-0002cg-Gk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make sure pg_rewind can't run as root

Previously a warning was printed, but the tool actually kept running
even when running as root. This is something we definitely want to
prevent, but since this means a behavior change, not backpatching.

Author: Michael Paquier

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5d5aeddabfe0b6b21f556c72a71e0454833d63e5

Modified Files
--------------
src/bin/pg_rewind/pg_rewind.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2018-04-09 19:46:26 pgsql: Silence some warnings in TAP tests
Previous Message Tom Lane 2018-04-09 19:01:17 pgsql: Make reformat_dat_file.pl preserve all blank lines.