Re: How to I relocate the Postgresql data directory

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: vorpalswordsman(at)shaw(dot)ca
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to I relocate the Postgresql data directory
Date: 2010-10-07 01:23:48
Message-ID: AANLkTi=-3T+e5Bn-mJ8YAmoKkMH=qxPbJhfe=oKsJyEn@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 6, 2010 at 6:53 PM, Vorpal <vorpalswordsman(at)shaw(dot)ca> wrote:
>
> PostgreSQL was installed as part of other software.
> The data folder is a subfolder of D:\Program Files\
> Specifically:
> "D:\Program Files\PostgreSQL\8.3\bin\pg_ctl.exe" runservice -w -N
> "pgsql-8.3" -D "D:\Program Files\PostgreSQL\8.3\data\"
>
> For various reasons I would like the data directory to be:
> G:\PostgreSQL\8.3\data\"
>
> I created this directory, and changed the line in the service startup,
> however the service threw an error on startup.

Almost... What's the exact error? I'm no windows guy but I'm
guessing we can figure it out from the error.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2010-10-07 01:25:09 Re: Missing uuid_generate_v1()
Previous Message Mike Christensen 2010-10-07 01:18:15 Missing uuid_generate_v1()