Re: pgsql: doc: restrictions on alter database moving default tablespace

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: doc: restrictions on alter database moving default tablespace
Дата
Msg-id 20141220020322.GB21109@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql: doc: restrictions on alter database moving default tablespace  (Noah Misch <noah@leadboat.com>)
Список pgsql-committers
On Fri, Dec 19, 2014 at 02:09:10AM -0500, Noah Misch wrote:
> On Mon, Dec 15, 2014 at 09:27:38PM -0700, David G Johnston wrote:
> > Noah Misch-2 wrote
> > > Here are a couple of alternatives for the documentation text:
> > >
> > >   The new default tablespace must not already contain any of the
> > > database's
> > >   objects, and no one can be connected to the database.
> >
> > +1; though maybe...
> >
> > The newly assigned default tablespace must not contain any of the specified
> > database's objects but otherwise need not be empty.  Additionally, there
> > must not be anyone connected to the database.
> >
> > This is a bit more verbose, and somewhat implied since newly created
> > databases have their default set, by definition, to one hat likely already
> > contains objects of other databases in the cluster, but does clarify the
> > specific confusion raised here.  Re-reading I think the implicit version is
> > likely sufficiently clear though.
>
> That text, too, works for me.

I went with cleaner wording that just rearranges the text to avoid the
confusion.  Attached patch applied.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: Adjust wording of ALTER TABLESPACE restriction
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix file descriptor leak at end of recovery.