Let's say I have tablespace A
located in the directory /A1
, and I would like to move it (everything) to directory /A2
?
I use openSUSE + PostgreSQL 9.1, and if this simplifies anything -- I can stop it (entire server) without a problem. Please note I am asking about entire tablespace and the tablespace already contains data!
This excerpt from the docs should get you going: