Re: setproctitle()
От | Bruce Momjian |
---|---|
Тема | Re: setproctitle() |
Дата | |
Msg-id | 200005240509.BAA18021@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: setproctitle() (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: setproctitle()
|
Список | 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... 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. -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: