Re: pg_ctl -D? - Mailing list pgsql-novice

From Tomeh, Husam
Subject Re: pg_ctl -D?
Date
Msg-id CB0FB369FF86E248A884BCC002562BCB0227DA92@pisgsna01sxch01.ana.firstamdata.com
Whole thread Raw
In response to pg_ctl -D?  (Ray Stell <stellr@cns.vt.edu>)
Responses Re: pg_ctl -D?
List pgsql-novice
Postgres expects all your data files to be in one location. The
workaround if you have chosen to spread them is to use symbolic links to
point to that one location again.

Sincerely,
--
  Husam

-----Original Message-----
From: pgsql-novice-owner@postgresql.org
[mailto:pgsql-novice-owner@postgresql.org] On Behalf Of Ray Stell
Sent: Wednesday, October 04, 2006 7:39 AM
To: pgsql-novice@postgresql.org
Subject: [NOVICE] pg_ctl -D?

pg_ctl seems to want to be told where "data" is:

pg_ctl stop [-W] [-s] [-D datadir]

I've been scattering data across spindles and mount points.  The
doc speaks to this in the singular:

-D datadir

    Specifies the file system location of the database files.
    If this is omitted, the environment variable PGDATA is used.

Do I need to tell pg_ctl where all the data is or does it figure it out
internally?

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org
**********************************************************************
This message contains confidential information intended only for the use of the addressee(s) named above and may
containinformation that is legally privileged.  If you are not the addressee, or the person responsible for delivering
itto the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is
strictlyprohibited.  If you have received this message by mistake, please immediately notify us by replying to the
messageand delete the original message immediately thereafter. 

Thank you.

                                   FADLD Tag
**********************************************************************


pgsql-novice by date:

Previous
From: Ray Stell
Date:
Subject: restart error
Next
From: Tom Lane
Date:
Subject: Re: pg_ctl -D?