I am happy that there is a faster way. although i can't figure it out.
at first i now have 2DB: following info is when i go to database management!
*my backup with DBname: "PT3_2009_09_09_193650" and DB info: "Database: pt3_newdb; Server: localhost; Port: 5432; USER: postgres;
and
*My new empty tablespace DB: "PT3_JAN 16-07-2010" and DB info: "Database: pt3_newjan; Server: localhost; Port: 5432; USER: postgres;
kraada wrote:Then at the psql prompt after you've connected to your database run the following commands:
How should i connect with the database? in PT3? or in the prompt? more details would be nice for a noob
kraada wrote:ALTER DATABASE "Your Database Name" SET TABLESPACE spare_disk;
I tried writing this:
"ALTER DATABASE PT3_2009_12_09_193650 SET TABLESPACE spare_disk;"
and
"ALTER DATABASE PT3_newdb SET TABLESPACE spare_disk;"
When i type this, i get this error: (translated from dutch)
ALTER is not recognized as an internal or external command, programme or batch file.
i didn't get further than this.
hope to hear from you soon