Moving a tablespace - Mailing list pgsql-admin

From Hyatt, Gordon
Subject Moving a tablespace
Date
Msg-id 8EA62D1B324F0A438A36E8B5F0848EB8F32051@jdcmail1.joslin.harvard.edu
Whole thread Raw
Responses Re: Moving a tablespace
List pgsql-admin
I want to move an existing tablespace on an FC8 box.  I read (at
http://www.postgresql.org/docs/8.2/static/manage-ag-tablespaces.html)
that one can simply stop the server, update the symbolic link in
$PGDATA/pg_tblspc, start the server, then update the pg_tablespace
catalog to point to the new location.

Is this all there is to moving a tablespace?  It seems too easy.

The tablespace I want to move is only around 1GB in size so dropping and
reloading during the next maintenance cycle is not that much of an
issue; although, I'd prefer not to.

Thanks in advance,

Gord



pgsql-admin by date:

Previous
From: "Campbell, Lance"
Date:
Subject: Odd syntax
Next
From: "Peter Koczan"
Date:
Subject: Re: Moving a tablespace