Re: Fix pg_rewind which can be run as root user - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Fix pg_rewind which can be run as root user
Date
Msg-id CAH2-WzmrGHGQq6rSDDKtgX9Gj_g_0BY6hS2V+4oJ-Qe0GHEUQg@mail.gmail.com
Whole thread Raw
In response to Re: Fix pg_rewind which can be run as root user  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Mon, Apr 9, 2018 at 12:23 PM, Magnus Hagander <magnus@hagander.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


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: PostgreSQL's handling of fsync() errors is unsafe and risks data loss at least on XFS
Next
From: Tom Lane
Date:
Subject: Re: Fix pg_rewind which can be run as root user