Re: setproctitle() - Mailing list pgsql-hackers

From Alfred Perlstein
Subject Re: setproctitle()
Date
Msg-id 20000523165444.N28097@fw.wintelcom.net
Whole thread Raw
In response to Re: setproctitle()  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: setproctitle()  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
* The Hermit Hacker <scrappy@hub.org> [000523 16:50] wrote:
> 
> I would like to see it, but not for v7.0.1 ... unless you can figure out a
> cleaner way of doing it, the coding changes would be extensive ...
> 
> I looked at it, and unless we go with global variables *yeech*, you would
> have to pass down the "fixed" part of the setproctitle to sub-functions
> (ie. argv[0-4](?)) ... I asked on one of the freebsd lists if anyone could
> suggest a way of getting 'argv[0]', but never did hear anything back ...

Can you clarify the question please?

Provide pseudo-code and I should be able to whip something up.

--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: setproctitle()
Next
From: Bruce Momjian
Date:
Subject: Re: setproctitle()