Re: BUG #18242: pg_dump with non-superuser from pg14 to pg15 fails on ALTER FUNCTION

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: BUG #18242: pg_dump with non-superuser from pg14 to pg15 fails on ALTER FUNCTION
Дата
Msg-id 9ad3c3781f8d89efab1917d1431226f4da79d443.camel@cybertec.at
обсуждение исходный текст
Ответ на BUG #18242: pg_dump with non-superuser from pg14 to pg15 fails on ALTER FUNCTION  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #18242: pg_dump with non-superuser from pg14 to pg15 fails on ALTER FUNCTION  (Aksel Allas <allasaksel@gmail.com>)
Список pgsql-bugs
On Tue, 2023-12-12 at 10:43 +0000, PG Bug reporting form wrote:
> When making a dump from PostgreSQL 14 and using it in PostgreSQL 15 with a
> user that has no superuser access (e.g. cloud environments), then we run
> into the following line from
> https://www.postgresql.org/docs/15/sql-alterfunction.html
>
> > To alter the owner, you must also be a direct or indirect member of the
> new owning role, and that role must have CREATE privilege on the function's
> schema.

That is working as it should.

Yours,
Laurenz Albe



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Issue with pg_get_functiondef
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Issue with pg_get_functiondef