Re: Change Hard Disc Drive - Mailing list pgsql-general

From Dave Page
Subject Re: Change Hard Disc Drive
Date
Msg-id 937d27e11001122131x3da02a05i57051f4a28617266@mail.gmail.com
Whole thread Raw
In response to Re: Change Hard Disc Drive  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: Change Hard Disc Drive  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-general
On Wed, Jan 13, 2010 at 10:57 AM, Craig Ringer
<craig@postnewspapers.com.au> wrote:
> Unfortunately, it doesn't. This means you need to alter the Windows service
> directly. What you need to do is stop the PostgreSQL service, then move your
> data directory (by default in C:\Program Files\PostgreSQL\version\data where
> "version" is 8.4, 8.3, etc) to the new location, and finally modify the
> command line used by the service so Pg knows where to find its data
> directory.

Or... create a new tablespace on the larger drive using pgAdmin, and
then move large tables/indexes across by right-clicking them and
selecting Properties, and then choosing the new tablespace.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Change Hard Disc Drive
Next
From: Vincenzo Romano
Date:
Subject: R: Re: Weird EXECUTE ... USING behaviour