Re: setproctitle()

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: setproctitle()
Date: 2000-05-24 12:03:08
Message-ID: Pine.BSF.4.21.0005240902290.243-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 24 May 2000, Bruce Momjian wrote:

> > Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > > No, it is pretty easy to do it in pg_status.h alone. The trick is to
> > > do sprintf(ps_status_buffer, "val val %s"), then use that in
> > > setproctitle for every command.
> >
> > > I will code it up if no one objects.
> >
> > Well, at this point committed changes are going to go out in 7.0.1
> > with essentially zero beta testing. Are you sure you've not introduced
> > any portability issues?
> >
> > As long as the changes are only enabled for platform(s) you've been able
> > to test, I've got no objection. Otherwise I'm a bit worried...
>
> I am too, but Marc put the setproctitle() stuff in there. I just made
> it work. Whether it should be in there is a separate issue I will let
> Marc address.
>
> If we turn it off in configure.in, then it will stay dormant until
> activated again.

I have no probs with making it "dormant" for v7.0.1 and then activiating
it for testing afterwards ...

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Olivier PRENANT 2000-05-24 12:45:02 Perl 5.6.0
Previous Message Alfred Perlstein 2000-05-24 10:33:39 Re: yowch: dumpRules(): SELECT failed for table website.