pgsql: Fix process startup in pg_rewind.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix process startup in pg_rewind.
Дата
Msg-id E1YfZlM-0001BD-Fd@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix process startup in pg_rewind.

Don't allow pg_rewind to run as root on Unix platforms, as any new or
replaced files in the data directory would become owned by root. On Windows,
it can run under a user that has Administrator rights, but a restricted
token needs to be used. This is the same we do e.g. in pg_resetxlog.

Also, add missing set_pglocale_pgservice() call, to fix localization.

Michael Paquier and Fujii Masao

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8a06c36aff4a94e5ffc3876cd85a1a16a82c754e

Modified Files
--------------
src/bin/pg_rewind/nls.mk      |    2 +-
src/bin/pg_rewind/pg_rewind.c |   17 +++++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Fix spelling of author's name
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Remove variable shadowing