Re: Fix pg_rewind which can be run as root user

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Fix pg_rewind which can be run as root user
Дата
Msg-id CABUevEwbUnBEdquAgT5wbi5yOsJmDjMGEN5dK-TB4wy9pL27mQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fix pg_rewind which can be run as root user  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fix pg_rewind which can be run as root user  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Mon, Apr 9, 2018 at 9:31 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Magnus Hagander <magnus@hagander.net> writes:
> 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?

Yeah, I'd vote against backpatching.  This doesn't seem like an essential
fix.

Applied, and pushed this way. 

--

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fix pg_rewind which can be run as root user
Следующее
От: Andres Freund
Дата:
Сообщение: Re: PostgreSQL's handling of fsync() errors is unsafe and risks data loss at least on XFS