pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Campbell, Lance <lance@uiuc.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Installing PostgreSQL
Date: Thu, 23 Aug 2007 18:26:19 +0100
Message-ID: <46CDC33B.8060409@archonet.com> (raw)
In-Reply-To: <B10E6810AC2A2F4EA7550D072CDE8760197D2D@SAB-FENWICK.sab.uiuc.edu>
References: <B10E6810AC2A2F4EA7550D072CDE8760197D29@SAB-FENWICK.sab.uiuc.edu>
	<46CDBF06.8010501@archonet.com>
	<B10E6810AC2A2F4EA7550D072CDE8760197D2D@SAB-FENWICK.sab.uiuc.edu>

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



view thread (6+ messages)  latest in thread

Message-ID: <46CDC33B.8060409@archonet.com>
Permalink:  ../46CDC33B.8060409@archonet.com/
Also on:    postgresql.org/message-id/46CDC33B.8060409@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, lance@uiuc.edu
  Subject: Re: Installing PostgreSQL
  In-Reply-To: <46CDC33B.8060409@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox