Re: [HACKERS] removing the exec() from doexec()

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: scrappy@hub.org (The Hermit Hacker)
Cc: brett@abraxas.scene.com, pgsql-hackers@hub.org
Date: 1998-04-30T02:42:39Z
Lists: pgsql-hackers
> 
> On Wed, 29 Apr 1998, Bruce Momjian wrote:
> 
> > No reason for the exec().  I believe the only advantage is that it gives
> > us a separate process name in the 'ps' listing.  I have looked into
> > simulating this.
> 
> 	Under FreeBSD, there is:
> 
> setproctitle(3) - set the process title for ps 1
> 
> 	This isn't available under Solaris though, last I checked...

Not even BSDI, which is BSD 4.4 like FreeBSD.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)