Re: Fix pg_rewind which can be run as root user

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix pg_rewind which can be run as root user
Date: 2018-04-09 19:29:44
Message-ID: CAH2-WzmrGHGQq6rSDDKtgX9Gj_g_0BY6hS2V+4oJ-Qe0GHEUQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Apr 9, 2018 at 12:23 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> Seems simple enough and the right hting to do, but I wonder if we should
> really backpatch it. Yes, the behaviour is not great now, but there is also
> a non-zero risk of breaking peoples automated failover scripts of we
> backpatch it, isn't it?

+1 to committing to master as a documented behavioral change.

--
Peter Geoghegan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-04-09 19:31:08 Re: Fix pg_rewind which can be run as root user
Previous Message Andres Freund 2018-04-09 19:29:16 Re: PostgreSQL's handling of fsync() errors is unsafe and risks data loss at least on XFS