Re: Creating a new database in pgadmin

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Creating a new database in pgadmin
Дата
Msg-id 4BA0BF1C.50009@lelarge.info
обсуждение исходный текст
Ответ на Re: Creating a new database in pgadmin  (javib <javier.burgos@ricoh.es>)
Список pgadmin-support
Le 17/03/2010 12:29, javib a écrit :
> 
> Thanks for replying so fast Thom. I tried the following line and it didn't
> work:
> 
> CREATE TABLESPACE otraParti LOCATION '/media/Iomega HDD(F:)'
> 
> and I'm getting the following error:
> ERROR: couldn't define permissions for directory «/media/Iomega HDD(F:)»: No
> such file or directory
> 
> Any ideas?
> 

You should probably look at the manual page for CREATE TABLESPACE:
http://www.postgresql.org/docs/8.4/interactive/sql-createtablespace.html

You need to put in the location field the name of the directory in which
you want to store your database/table. And be sure postgres has
permissions to read/write in this directory.

BTW, you can use pgAdmin to create this tablespace. Could be simpler.


-- 
Guillaume.http://www.postgresqlfr.orghttp://dalibo.com


В списке pgadmin-support по дате отправления:

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Creating a new database in pgadmin
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: report generation