Re: can not create a tablespace from psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: can not create a tablespace from psql
Дата
Msg-id 28896.1301111162@sss.pgh.pa.us
обсуждение исходный текст
Ответ на can not create a tablespace from psql  (hyelluas <helen_yelluas@mcafee.com>)
Список pgsql-admin
hyelluas <helen_yelluas@mcafee.com> writes:
> I want to create a tablespace from a command line.
> I created the directory and set chmod to 0700 , still could not do it.

> [root@Prof20_52_91 data]# chmod 0700 /data/psql/my_test1

... that says "psql" ...

> postgres=# create tablespace my_test1 OWNER postgres location
> '/data/pgsql/my_test1';
> ERROR:  could not set permissions on directory "/data/pgsql/my_test1": No
> such file or directory

... that says "pgsql" ...

            regards, tom lane

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

Предыдущее
От: Rosser Schwarz
Дата:
Сообщение: Re: can not create a tablespace from psql
Следующее
От: Simon Luijk
Дата:
Сообщение: Re: Wal archives building up in slave pg_xlog dir