Re: BUG #18383: creation of public schema is not consistent

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: BUG #18383: creation of public schema is not consistent
Дата
Msg-id d7c13f4f77baeab19056c04ed6a45adcfe18585b.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: BUG #18383: creation of public schema is not consistent  (Sam Darwin <samuel.d.darwin@gmail.com>)
Список pgsql-bugs
On Thu, 2024-03-07 at 18:48 -0700, Sam Darwin wrote:
> pg_restore: error: could not execute query: ERROR:  must be owner of schema public
> Command was: COMMENT ON SCHEMA public IS '';
>
> Well, maybe, consider if terse error messages could be more verbose.

As long as you know that restoring a dump executes SQL statements, what
is missing?  You get the statement that was executed and the error
message.  Right, you have to know what the owner of an object is, but
you cannot expect the error message to discourse on that.

Restoring a dump when you are not a superuser is always difficult.

Yours,
Laurenz Albe



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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18384: It's not bug just question about documentation
Следующее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: Re:RE: Re:BUG #18369: logical decoding core on AssertTXNLsnOrder()