Re: setproctitle()

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: setproctitle()
Date: 2000-05-23 23:54:44
Message-ID: 20000523165444.N28097@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* The Hermit Hacker <scrappy(at)hub(dot)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(at)wintelcom(dot)net|alfred(at)freebsd(dot)org]
"I have the heart of a child; I keep it in a jar on my desk."

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-05-23 23:55:10 Re: [GENERAL] Re: Postgresql OO Patch
Previous Message Chris Bitmead 2000-05-23 23:42:38 Re: SQL3 UNDER