Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Some items for the TODO list

From: Tom <tom(at)sdf(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Some items for the TODO list
Date: 1998-07-09 17:48:01
Message-ID: Pine.BSF.3.95q.980709104630.27458B-100000@misery.sdf.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Wed, 8 Jul 1998, Tom Lane wrote:

> Things I'd like to see get in there before 6.4:
> 
> 1. On HPUX, the new no-exec method of starting the backend means that
> all the backends claim to be "postmaster"; there's no way to tell 'em
> apart via ps(1).  There is some code in postgres.c that tries to update
> the process title information by tweaking the original argv[] array, but
> that just plain doesn't work under HPUX, nor under quite a few other
> Unix variants.  I'm finding out that not being able to tell which
> process is which is a real pain in the neck; I don't think it will be
> acceptable for production use.  I think we are going to have to bite the
> bullet and borrow the process-title-setting code from sendmail --- I
> know it's ugly, but it *works* on many many Unixes.

  Many UNIXes have a setproctitle() function, either in libc or libutil.
I think a native function should be used if exists.

Tom


In response to

Responses

pgsql-hackers by date

Next:From: Jan WieckDate: 1998-07-09 18:10:06
Subject: Re: [HACKERS] PostgreSQL Backend as SW Gateway to Oracle
Previous:From: TomDate: 1998-07-09 17:38:05
Subject: Re: [HACKERS] PostgreSQL Backend as SW Gateway to Oracle

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group