Re: monitoring database activity on solaris

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: David Parker <dparker(at)tazznetworks(dot)com>, postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: monitoring database activity on solaris
Date: 2005-04-11 03:58:25
Message-ID: 200504110358.j3B3wPd12719@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> "David Parker" <dparker(at)tazznetworks(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Inpreet Singh 2005-04-11 05:25:11 Log File Maintainance
Previous Message John Burger 2005-04-11 03:37:36 Re: Duplicate records in table