Re: monitoring database activity on solaris - Mailing list pgsql-general

From Bruce Momjian
Subject Re: monitoring database activity on solaris
Date
Msg-id 200504110358.j3B3wPd12719@candle.pha.pa.us
Whole thread Raw
In response to Re: monitoring database activity on solaris  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> "David Parker" <dparker@tazznetworks.com> writes:
> >> The best bet is to make sure that your postmaster start script
> >> invokes the postmaster as
> >>     postmaster
> >> no more.  No path (set PATH beforehand instead).  No
> >> command-line switches (whatever you might want there can be
> >> put into postgresql.conf instead).
>
> > OK, thanks. We're using pg_ctl to start it at the moment, but we can
> > obviously change that.
>
> Hmm.  Seems like it might be worthwhile to modify pg_ctl to use PATH
> and PGDATA instead of making the command line longer.  AFAIR it doesn't
> insist on putting in any command-line switches except -D, and that's
> easily replaced ...

People like the long postmaster line because it allows them to see the
data path for multiple postmasters.  I think we just have to access
Solaris as partially broken, unless we want to do this only on Solaris.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: John Burger
Date:
Subject: Re: Duplicate records in table
Next
From: Richard Huxton
Date:
Subject: Re: Download problem - none of the ftp mirrors work