Re: ALTER xxx SET TABLESPACE (was bug in DROP TABLESPACE)

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: ALTER xxx SET TABLESPACE (was bug in DROP TABLESPACE)
Дата
Msg-id Pine.LNX.4.58.0407071742190.29717@linuxworld.com.au
обсуждение исходный текст
Ответ на Re: ALTER xxx SET TABLESPACE (was bug in DROP TABLESPACE)  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
On Wed, 7 Jul 2004, Christopher Kings-Lynne wrote:

> > Its questionable if these are to be interpreted as just changing the
> > default tablespace for subsequent creates, or also moving all objects
> > that were created using the previous tablespace. Since it's
> > indistinguishable whether an object was created using the default from
> > schema/database or given a tablespace explicitely (unless default was
> > 0), I'd opt for version one.
>
> I meant option one - I hadn't considered the second.  The thing is
> though you have to maybe move some stuff on disk as well.

Maybe? You definately do.

In the ALTER DATABASE case you'd also need to lock users out of the
database.

I'm not so sure these additions are necessary for 7.5 though...

Does anyone else have thoughts?

Gavin


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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: ALTER xx SET TABLESPACE (was bug in DROP TABLESPACE)
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: nested-xacts cursors (was Re: Performance with new