Re: pg_ctl -D?

From: "Tomeh, Husam" <htomeh(at)firstam(dot)com>
To: "Ray Stell" <stellr(at)cns(dot)vt(dot)edu>, pgsql-novice(at)postgresql(dot)org
Subject: Re: pg_ctl -D?
Date: 2006-10-04 15:19:31
Message-ID: CB0FB369FF86E248A884BCC002562BCB0227DA92@pisgsna01sxch01.ana.firstamdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Ray Stell
Sent: Wednesday, October 04, 2006 7:39 AM
To: pgsql-novice(at)postgresql(dot)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 contain information that is legally privileged. If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter.

Thank you.

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

In response to

  • pg_ctl -D? at 2006-10-04 14:38:43 from Ray Stell

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2006-10-04 16:57:35 Re: pg_ctl -D?
Previous Message Ray Stell 2006-10-04 14:59:40 restart error