Re: can not create a tablespace from psql

From: Rosser Schwarz <rosser(dot)schwarz(at)gmail(dot)com>
To: hyelluas <helen_yelluas(at)mcafee(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: can not create a tablespace from psql
Date: 2011-03-26 01:17:33
Message-ID: AANLkTi=n0dFGmfbnr1CR6kznyK4Bw23Fp_Q7JCiyvhNC@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Mar 25, 2011 at 7:10 PM, hyelluas <helen_yelluas(at)mcafee(dot)com> wrote:

> [root(at)Prof20_52_91 data]# ls -ltr 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

When you say 'ls', you're in a directory named 'data'. Your CREATE
TABLESPACE statement is looking for '/data/pgsql/my_test1'.
Double-check your path and try again.

rls

--
:wq

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2011-03-26 03:46:02 Re: can not create a tablespace from psql
Previous Message hyelluas 2011-03-26 01:10:45 can not create a tablespace from psql