> On Thu, 6 May 1999, Oleg Bartunov wrote:
>
> > How to explain that process with PID 701 which shown in ps output
> > as (postmaster) after some time becomes looks as usual postgres
>
> Because 'postmaster' is written in the kernel task_struct, whereas the
> task's argv[] says 'postgres'.
>
> The only way to get around this is to do an execv(), at which point the
> kernel will recopy argv[0].
We used to do execv(), but stopped doing it for performance reasons.
-- Bruce Momjian | http://www.op.net/~candle maillist@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