Re: setproctitle() no longer used? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: setproctitle() no longer used?
Date
Msg-id Pine.LNX.4.21.0005101837590.30279-100000@localhost.localdomain
Whole thread Raw
In response to setproctitle() no longer used?  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: setproctitle() no longer used?
Re: setproctitle() no longer used?
List pgsql-hackers
The Hermit Hacker writes:

> Well, that would explain that, now, wouldn't it?  did we remove this
> somewhere along the way? *raised eyebrow*

There was no setproctitle in 6.5.* either.

I'm guessing that the argv[0] = "the string you want" method no longer
works in FreeBSD 4.0??? In any case, as per previous discussion, I did
write up a more portable and robust setproctitle-like implementation for
our use (which actually uses setproctitle if available), so if this is the
problem it's at least being worked on.

> pgsql% find . -name "*.[ch]" -exec grep setproctitle {} \; -print
> pgsql% pwd
> /pgsql/src/pgsql/src
> pgsql% 

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: v7.0 release
Next
From: Peter Eisentraut
Date:
Subject: Re: CREATE DATABASE WITH OWNER '??';