Re: postgresql-[any version] from FreeBSD ports - startup problems after crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgresql-[any version] from FreeBSD ports - startup problems after crash
Дата
Msg-id 11564.1147720331@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgresql-[any version] from FreeBSD ports - startup problems after crash  ("Jim C. Nasby" <jnasby@pervasive.com>)
Ответы Re: postgresql-[any version] from FreeBSD ports - startup problems after crash  ("Larry Rosenman" <ler@lerctr.org>)
Список pgsql-bugs
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> Except that the shell that's running su would be root, not pgsql, at
> least in the case of FreeBSD. The guts of the current port's rc.d file
> are:

> su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"

Yeah, but what's the ${command} ?

If it's pg_ctl then all he's missing is the recent change to check
getppid.  If it's execing postmaster directly then maybe we need
another theory.

            regards, tom lane

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: postgresql-[any version] from FreeBSD ports - startup problems after crash
Следующее
От: "Larry Rosenman"
Дата:
Сообщение: Re: postgresql-[any version] from FreeBSD ports - startup problems after crash