Re: can not create a tablespace from psql - Mailing list pgsql-admin

From Tom Lane
Subject Re: can not create a tablespace from psql
Date
Msg-id 28896.1301111162@sss.pgh.pa.us
Whole thread Raw
In response to can not create a tablespace from psql  (hyelluas <helen_yelluas@mcafee.com>)
List 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 by date:

Previous
From: Rosser Schwarz
Date:
Subject: Re: can not create a tablespace from psql
Next
From: Simon Luijk
Date:
Subject: Re: Wal archives building up in slave pg_xlog dir