Re: setproctitle() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: setproctitle()
Date
Msg-id 5751.959142280@sss.pgh.pa.us
Whole thread Raw
In response to Re: setproctitle()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: setproctitle()  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Plpsql vs. SQL functions
Next
From: Bruce Momjian
Date:
Subject: Re: setproctitle()