Re: Installing PostgreSQL - Mailing list pgsql-performance

From Campbell, Lance
Subject Re: Installing PostgreSQL
Date
Msg-id B10E6810AC2A2F4EA7550D072CDE8760197D2E@SAB-FENWICK.sab.uiuc.edu
Whole thread Raw
In response to Re: Installing PostgreSQL  (Richard Huxton <dev@archonet.com>)
List pgsql-performance
Richard,
I was able to prove that it works.  Thanks for your time.

Lance Campbell
Project Manager/Software Architect
Web Services at Public Affairs
University of Illinois
217.333.0382
http://webservices.uiuc.edu


-----Original Message-----
From: Richard Huxton [mailto:dev@archonet.com]
Sent: Thursday, August 23, 2007 12:26 PM
To: Campbell, Lance
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Installing PostgreSQL

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: Richard Huxton
Date:
Subject: Re: Installing PostgreSQL
Next
From: Stephen Davies
Date:
Subject: Re: Optimising "in" queries