Re: ALTER SCHEMA ... SET TABLESPACE

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: ALTER SCHEMA ... SET TABLESPACE
Дата
Msg-id 200506042316.j54NGic19155@candle.pha.pa.us
обсуждение исходный текст
Ответ на ALTER SCHEMA ... SET TABLESPACE  (Gavin Sherry <swm@linuxworld.com.au>)
Ответы Re: ALTER SCHEMA ... SET TABLESPACE  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-patches
I am thinking some day we will need:

    ALTER SCHEMA ... SET NEW TABLESPACE

and

    ALTER SCHEMA ... SET CURRENT TABLESPACE

to specify if existing objects are moved, but at this point we aren't
going to get the later in 8.1, so I guess we will just go with an
unadorned stynax.

In fact, the new syntax might just be:

    ALTER SCHEMA ... MOVE TABLESPACE
or
    ALTER SCHEMA ... RELOCATE TABLESPACE

Your patch has been added to the PostgreSQL unapplied patches list at:

    http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------


Gavin Sherry wrote:
> This patch implements ALTER SCHEMA ... SET TABLESPACE.
>
> This changes the default schema tablespace but does not attempted to move
> objects within the schema to the new tablespace.
>
> Docs, regression test and tab-completion included.
>
> There were a few places which conflicted with my alter index patch and
> I've tried to edit the diff where possible to allow for easy applying.
>
> Gavin

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: return_next for plperl (was Re: call for help)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: log_line_prefix additions