Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id F24EE9F97AA for ; Thu, 23 Aug 2007 14:28:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 76841-02-2 for ; Thu, 23 Aug 2007 14:28:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 2B2489F954C for ; Thu, 23 Aug 2007 14:28:50 -0300 (ADT) Received: from server3.office.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 6E1E454DA3; Thu, 23 Aug 2007 18:26:19 +0100 (BST) Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 4D0B9274060; Thu, 23 Aug 2007 18:26:19 +0100 (BST) Message-ID: <46CDC33B.8060409@archonet.com> Date: Thu, 23 Aug 2007 18:26:19 +0100 From: Richard Huxton User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: "Campbell, Lance" Cc: pgsql-performance@postgresql.org Subject: Re: Installing PostgreSQL References: <46CDBF06.8010501@archonet.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/267 X-Sequence-Number: 26397 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