Re: Error creating Tablespace on Windows

Поиск
Список
Период
Сортировка
От deepak
Тема Re: Error creating Tablespace on Windows
Дата
Msg-id CAALYutfvAYm=0yka5a3n5ipMw-HXMtP6H+PN+VuE3Sk_Wmx36g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Error creating Tablespace on Windows  (John R Pierce <pierce@hogranch.com>)
Ответы Re: Error creating Tablespace on Windows  (Begin Daniel <jfd553@hotmail.com>)
Список pgsql-general
I chose temp only for illustration purposes.  Actually the regression test "tablespace" fails too,
for the same reason, when run from sources (which creates a tablespace directory under
src/test/regress)

--
Deepak

On Wed, Nov 25, 2015 at 2:15 PM, John R Pierce <pierce@hogranch.com> wrote:
On 11/25/2015 12:01 PM, deepak wrote:
I am getting this permission denied error on Windows 2008 trying to create a tablespace.

template1=# create tablespace testtablespace location 'c:/windows/temp1/testtablespace';
ERROR:  could not set permissions on directory "c:/windows/temp1/testtablespace": Permission denied


why are you putting database tables in the Windows directory?!?   I would instead put them somewhere like

C:\Users\postgres\AppData\Local\Temp   (assuming C:\Users\postgres is the %USERPROFILE% directory for the postgres service owner...)



--
john r pierce, recycling bits in santa cruz



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Melvin Davidson
Дата:
Сообщение: Re: Taking lot time
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: using a postgres table as a multi-writer multi-updater queue