From: Tom Lane <tgl@sss.pgh.pa.us>
To: hyelluas <helen_yelluas@mcafee.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: can not create a tablespace from psql
Date: Fri, 25 Mar 2011 23:46:02 -0400
Message-ID: <28896.1301111162@sss.pgh.pa.us> (raw)
In-Reply-To: <1301101845051-4265091.post@n5.nabble.com>
References: <1301101845051-4265091.post@n5.nabble.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, helen_yelluas@mcafee.com
Subject: Re: can not create a tablespace from psql
In-Reply-To: <28896.1301111162@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox