Re: setproctitle()

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

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...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marten Feldtmann 2000-05-24 04:25:34 Re: Re: [HACKERS] Postgresql OO Patch
Previous Message Bruce Momjian 2000-05-24 02:30:53 Re: Plpsql vs. SQL functions