How to configure Postgre 8.2 to put the data base in a especific directory

From: David Rodríguez Canelón <drodriguez(at)alejandria(dot)biz>
To: <pgsql-admin(at)postgresql(dot)org>
Cc: "Soporte" <Soporte(at)altamira(dot)alejandria(dot)biz>, <dpacheco(at)alejandria(dot)biz>
Subject: How to configure Postgre 8.2 to put the data base in a especific directory
Date: 2008-04-30 17:45:20
Message-ID: 002001c8aae9$f5e66c80$5500a8c0@alejandria.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I put the tablespace in a specific directory, but Postgre created a copy of my database in de Postgre directory (C:\Archivos de programa\PostgreSQL\8.2\data\base\10818), taking all my free space. I need to know how i could set Postgre to create a database in a diferent directory and drive than Postgre's.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Robert Lor 2008-04-30 18:25:25 Re: Remove Postgres from Solaris 10
Previous Message Ian Westmacott 2008-04-30 17:28:08 Re: 8.1.8 autovacuum missing databases