Re: incorrect pg_dump output due to not handling dropped rolescorrectly

Поиск
Список
Период
Сортировка
От Floris Van Nee
Тема Re: incorrect pg_dump output due to not handling dropped rolescorrectly
Дата
Msg-id 1574024173786.96623@Optiver.com
обсуждение исходный текст
Ответ на Re: incorrect pg_dump output due to not handling dropped roles correctly  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: incorrect pg_dump output due to not handling dropped rolescorrectly  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-bugs
> Yeah, I think that would work.  Obviously best to test in a throwaway
> database ...

Thanks, Tom. Fixed it with that query.

As for the proper fix, indeed it looks like the 'drop role' needs to be taught to update pg_init_privs.

-Floris




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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: 回复: 回复: 回复: BUG #16101: tables in the DB is not available after pg_restore
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16121: 12 regression: Volatile function in target list subquery behave as stable