Skip site navigation (1) Skip section navigation (2)

Re: Symbolic Links to Tablespaces

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: "Campbell, Lance" <lance(at)illinois(dot)edu>,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Symbolic Links to Tablespaces
Date: 2008-05-26 19:19:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Heikki Linnakangas wrote:
> Shut down the database server, replace the symbolic link in 
> data/pg_tblspc to the new location, and start the server again. The 
> location is also stored in pg_tablespace catalog; you'll need to fix it 
> with "UPDATE pg_tablespace SET spclocation ='/someotherdir/xyz_tbl' 
> WHERE spcname='xyz_tbl'", or pg_dumpall will still show the old location.
wouldn't alter tablespace be not more easy and less fragile?


In response to


pgsql-performance by date

Next:From: Heikki LinnakangasDate: 2008-05-26 20:26:15
Subject: Re: Symbolic Links to Tablespaces
Previous:From: Heikki LinnakangasDate: 2008-05-26 18:26:11
Subject: Re: Symbolic Links to Tablespaces

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group