Re: Code bug or doc bug?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Code bug or doc bug?
Дата
Msg-id 20140827131955.GJ14956@momjian.us
обсуждение исходный текст
Ответ на Re: Code bug or doc bug?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Code bug or doc bug?  (David G Johnston <david.g.johnston@gmail.com>)
Список pgsql-hackers
On Wed, Aug 27, 2014 at 09:05:41AM -0400, Robert Haas wrote:
> Another idea is to have a command that you can run, while connected to
> a particular database, that updates the default tablespace for that
> database without actually moving any data on disk - i.e. it sets
> pg_database.dattablespace, and then updates every pg_class row where
> reltablespace = 0 to the old default tablespace, and pg_class row
> where reltablespace = the new tablespace ID to 0.  Then you can move
> individual relations afterwards if you feel like it.  But that might
> still require a lot of locks, and I think we also have a limitation
> that some relations (the mapped ones?) have to be in the database's
> default tablespace, which obviously wouldn't work here.
> 
> So it's a tricky problem.

Is there a doc patch to make here?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: WIP Patch for GROUPING SETS phase 1
Следующее
От: Andres Freund
Дата:
Сообщение: Re: postgresql latency & bgwriter not doing its job