Re: error moving table to tablespace (8.0 beta win32 )

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: error moving table to tablespace (8.0 beta win32 )
Дата
Msg-id 21884.1092267317@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: error moving table to tablespace (8.0 beta win32 )  (Christian Traber <christian@traber-net.de>)
Ответы Re: [pgsql-hackers-win32] error moving table to tablespace  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-general
Christian Traber <christian@traber-net.de> writes:
> Maybe its only win32 version?

Well, I can't reproduce it on Unix.  It seems awfully odd though that
you can create tables in that tablespace to begin with but can't move
them there.  I'm cc'ing this to the pgsql-hackers-win32 to see if anyone
there has a clue ...

            regards, tom lane

> Here what i tried:

> CREATE TABLE test (name varchar(100));
> CREATE TABLE

> CREATE TABLESPACE test LOCATION 'C:\\tmp\\ts_test';
> CREATE TABLESPACE

> \db
>            List of tablespaces
>      Name    |  Owner   |    Location
> ------------+----------+----------------
>   pg_default | postgres |
>   pg_global  | postgres |
>   test       | postgres | C:/tmp/ts_test
> (3 rows)

> ALTER TABLE test SET TABLESPACE test;
> ALTER TABLE

> \d+ test
>                      Table "public.test"
>   Column |          Type          | Modifiers | Description
> --------+------------------------+-----------+-------------
>   name   | character varying(100) |           |
> Contains OIDs: yes
> Tablespace: "test"

> ALTER TABLE test SET TABLESPACE pg_default;
> ERROR:  could not create relation 1663/317186/1317654: Permission denied

> select version();
>                                                   version

> ----------------------------------------------------------------------------------------------------------
>   PostgreSQL 8.0.0beta1 on i686-pc-mingw32, compiled by GCC gcc.exe
> (GCC) 3.2.3 (mingw special 20030504-1)
> (1 row)

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: How copy a new line char to a file?
Следующее
От: Richard Welty
Дата:
Сообщение: Re: PostgreSQL 8.0 Feature List?