Re: setproctitle

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: phd2(at)earthling(dot)net
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: setproctitle
Date: 2000-06-12 20:04:53
Message-ID: 200006122004.QAA01403@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> platforms where it is not in libc, the code does different things on
> different platforms - on some it just copies new title over argv array.
> Some systems has pstat() system call - again, sendmail's code uses it.

What OS's has pstat()? Can someone supply a patch for those?

> The overhead is platform-dependent, and for many platform is actually low.
> The biggest overhead is for SCO, as far as I understand the code; may be I
> missed something, but I hope I don't.
>
> > > Bruce, can you give me some hints where in the code you change process
> > > title? I hope there are no more than two or three places to change.
> >
> > Massimo generalized the process status code in
> > include/utils/ps_status.h. See that. It is the central place to change
> > it.
>
> Thanks, I'll look into it.
>
> > > What is our opinion on licensing? At first glance the license looks
> > > pretty compatible:
> >
> > Yes, except that the Eric P. Allman line basically says nothing about
> > his copyright. Is his the same as BSD? Without stating that, it is a
> > very limited copyright.
>
> I have never understand copyright/licensing issues (count I live in
> post-totalitarian country where there was One copyright owner - The
> Government, and One license...)
>
> Oleg.
> ----
> Oleg Broytmann http://members.xoom.com/phd2.1/ phd2(at)earthling(dot)net
> Programmers don't die, they just GOSUB without RETURN.
>
>

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2000-06-12 20:47:01 [Fwd: PostgreSQL RPMS...]
Previous Message Bruce Momjian 2000-06-12 20:04:00 Re: 7.0b3 pl/pgsql, ERROR: CURRENT used in non-rule query