Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group