]> granicus.if.org Git - postgresql/commit
Make sure pg_rewind can't run as root
authorMagnus Hagander <magnus@hagander.net>
Mon, 9 Apr 2018 19:33:33 +0000 (21:33 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 9 Apr 2018 19:33:33 +0000 (21:33 +0200)
commit5d5aeddabfe0b6b21f556c72a71e0454833d63e5
tree45695cebf6846418e15ff183635f03ce5c2556c3
parenta65e17bd6fdac1b11e0c82764955c0b805251937
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
src/bin/pg_rewind/pg_rewind.c