From: | The Hermit Hacker <scrappy(at)hub(dot)org> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: setproctitle() no longer used? |
Date: | 2000-05-10 22:16:54 |
Message-ID: | Pine.BSF.4.21.0005101915420.777-100000@thelab.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 10 May 2000, Peter Eisentraut wrote:
> The Hermit Hacker writes:
>
> > Well, that would explain that, now, wouldn't it? did we remove this
> > somewhere along the way? *raised eyebrow*
>
> There was no setproctitle in 6.5.* either.
>
> I'm guessing that the argv[0] = "the string you want" method no longer
> works in FreeBSD 4.0??? In any case, as per previous discussion, I did
> write up a more portable and robust setproctitle-like implementation for
> our use (which actually uses setproctitle if available), so if this is the
> problem it's at least being worked on.
D'oh, okay...I ended up going through the v6.5.* source code too, and
couldn't find it there. I forget how Bruce had implemented it using
argv[0], and yes, it is definitely broken on FreeBSD 4.0 ...
I'll look at doing the change here locally, since I know
setproctitle() does work, as I find it invaluable to know what is running,
and where ...
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-05-10 22:24:19 | Re: [HACKERS] Re: Problems compiling version 7 |
Previous Message | Culberson, Philip | 2000-05-10 22:04:44 | RE: [HACKERS] Re: Problems compiling version 7 |