Re: Installing PostgreSQL - Mailing list pgsql-performance

From Richard Huxton
Subject Re: Installing PostgreSQL
Date
Msg-id 46CDC33B.8060409@archonet.com
Whole thread Raw
In response to Re: Installing PostgreSQL  ("Campbell, Lance" <lance@uiuc.edu>)
Responses Re: Installing PostgreSQL
List pgsql-performance
Campbell, Lance wrote:
> Richard,
> So what you are saying is that if you install PostgeSQL into a data
> directory /abc/data you could then stop the database, move the files
> into /def/data, and then start the database making sure to point to the
> new data directory.  PostgreSQL is therefore referencing its files
> relative to the "data" directory the files are in.
>
> Is this a correct observation?

Yes - provided:
1. Ownership and permissions on the destination directory are correct
2. You remember to stop the server when copying


--
   Richard Huxton
   Archonet Ltd

pgsql-performance by date:

Previous
From: Greg Smith
Date:
Subject: Re: Installing PostgreSQL
Next
From: "Campbell, Lance"
Date:
Subject: Re: Installing PostgreSQL