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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Ruslan A Dautkhanov <rusland(at)scn(dot)ru>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: postgresql-[any version] from FreeBSD ports - startup problems after crash
Date: 2006-05-15 19:12:11
Message-ID: 11564.1147720331@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Jim C. Nasby" <jnasby(at)pervasive(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Larry Rosenman 2006-05-15 19:20:51 Re: postgresql-[any version] from FreeBSD ports - startup problems after crash
Previous Message Jim C. Nasby 2006-05-15 19:00:33 Re: postgresql-[any version] from FreeBSD ports - startup problems after crash