Re: Problems Restarting PostgreSQL Daemon - Mailing list pgsql-general

From Rich Shepard
Subject Re: Problems Restarting PostgreSQL Daemon
Date
Msg-id Pine.LNX.4.64.0807271541340.21408@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Problems Restarting PostgreSQL Daemon  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
List pgsql-general
On Mon, 28 Jul 2008, Andrej Ricnik-Bay wrote:

> Can you do a 'locate pg_ctl|xargs ls -l' and see whether you have more
> than one installed, and if so, which one comes first in the PATH?

Andrej,

   There are two:

-rwxr-xr-x 1 root root 24320 2008-06-17 16:18 /usr/bin/pg_ctl
-rw-r--r-- 1 root root 17286 2007-11-10 13:48
/usr/doc/postgresql-8.3.3/src/sgml/ref/pg_ctl-ref.sgml
-rw-r--r-- 1 root root  3536 2008-06-17 16:18 /usr/man/man1/pg_ctl.1.gz
-rwxr-xr-x 1 root root 32316 2008-06-18 09:50 /usr3/pg813/bin/pg_ctl
-rw-r--r-- 1 root root  8888 2008-06-18 09:50 /usr3/pg813/man/man1/pg_ctl.1

and /usr3/pg813 is not in anyone's path. It's a data storage filesystem and
holds the earlier version during the upgrade. And, now that 8.3.3 is
running, I'll remove that directory.

   Postgres' path is: /bin:/usr/bin:/home/postgres/bin:/sbin:/usr/sbin.

Rich

--
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

pgsql-general by date:

Previous
From: Suresh
Date:
Subject: Profiling postgres
Next
From: Steve Martin
Date:
Subject: Re: Substitute a variable in PL/PGSQL.