Re: 'pg_global' cannot be used as default_tablespace.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: 'pg_global' cannot be used as default_tablespace.
Дата
Msg-id ZULWiAskl5qtYZN8@momjian.us
обсуждение исходный текст
Ответ на Re: 'pg_global' cannot be used as default_tablespace.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 'pg_global' cannot be used as default_tablespace.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
On Wed, Nov  1, 2023 at 06:32:37PM -0400, Tom Lane wrote:
> "David G. Johnston" <david.g.johnston@gmail.com> writes:
> > On Wednesday, November 1, 2023, Bruce Momjian <bruce@momjian.us> wrote:
> >> Did you want an error from the SET command?
> 
> > That would probably be a decent addition but the request was for us to add
> > “it is not permissible to specify the pg_global tablespace for either
> > default_tablespace or temp_tablespace”.  In the tablespace section per the
> > request but maybe also within the settings definition section.
> 
> But it *is* permissible, unless we add code to reject it during
> SET as Bruce mentioned.  Which seems fairly pointless to me.  It's not
> like there is anything unclear about the CREATE TABLE error message.

Yeah, from the report I thought something bad happened if you tried to
use it and that is why we had to document it.  By documenting it we are
just giving the user advice before they get the error.  I wrote up this
minimal patch which might have the right level of detail to avoid
errors, if people think this is useful.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Typo in "43.9.1. Reporting Errors and Messages"?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 'pg_global' cannot be used as default_tablespace.