moving tablespaces - Mailing list pgsql-admin

From Grzegorz Dostatni
Subject moving tablespaces
Date
Msg-id 295750.79484.qm@web30402.mail.mud.yahoo.com
Whole thread Raw
Responses Re: moving tablespaces
List pgsql-admin
Hello.

I'm running postgresql 8.3.1 on Solaris 10.

I made a mistake when originally setting up the
database directory (which includes tablespaces). I
have moved it to a new location, and I have setup a
symbolic link that allows the db to find the
tablespaces. What I'm wondering about is how do I make
the change pernament in the database (ie. without
using symbolic links)?

What's the safe way to do that?

Is moving the symbolic links from pg_tblspc area
sufficient? DB needs to be shutdown for that. Will
that update the pg_tablespace table within the
database automatically?

Thanks,

Greg


      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

pgsql-admin by date:

Previous
From: "Mario Ferloni"
Date:
Subject: Re: Windows max concurrent connections
Next
From: "Joshua D. Drake"
Date:
Subject: Re: moving tablespaces