From: Tom Lane <tgl@sss.pgh.pa.us>
To: Taber, Mark <Mark.Taber@dof.ca.gov>
Cc: pgsql-admin@postgresql.org
Subject: Re: postmaster -i option...
Date: Mon, 18 Oct 2004 18:10:16 -0400
Message-ID: <8788.1098137416@sss.pgh.pa.us> (raw)
In-Reply-To: <7660B79A29B9D411999F00D0B78EC890726F5B@NTRK2>
References: <7660B79A29B9D411999F00D0B78EC890726F5B@NTRK2>
"Taber, Mark" <Mark.Taber@dof.ca.gov> writes:
> I restarted our dev postgres instance today with the -i option, and now,
> using 'ps,', I am not able to see connections to the database any longer.
> The production instance (running only with the -D option) shows the
> connections. Am I going crazy, missing something obvious? I'm using the
> command 'ps -ax | grep postgres'
Is this Solaris by any chance?
Solaris' ps has some weird interaction that causes it to not show the
replacement command line unless same is longer than the original. So
you generally want to keep the postmaster invocation to just
"postmaster"; use a PGDATA environment variable instead of -D, and
specify everything else in postgresql.conf.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Mark.Taber@dof.ca.gov
Subject: Re: postmaster -i option...
In-Reply-To: <8788.1098137416@sss.pgh.pa.us>
References: <7660B79A29B9D411999F00D0B78EC890726F5B@NTRK2> <8788.1098137416@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox