Re: setproctitle()

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

I am on it. I will post the code here.

> * 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."
>

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-05-23 23:42:38 Re: SQL3 UNDER
Previous Message Bruce Momjian 2000-05-23 23:28:33 Re: setproctitle()