Re: pg_upgrade check for invalid role-specific default config
От | Bruce Momjian |
---|---|
Тема | Re: pg_upgrade check for invalid role-specific default config |
Дата | |
Msg-id | 20210412211602.GC22319@momjian.us обсуждение исходный текст |
Ответ на | pg_upgrade check for invalid role-specific default config (Charlie Hornsby <charlie.hornsby@hotmail.co.uk>) |
Ответы |
Re: pg_upgrade check for invalid role-specific default config
|
Список | pgsql-hackers |
On Mon, Apr 12, 2021 at 01:28:19PM +0000, Charlie Hornsby wrote: > Hi all, > > While troubleshooting a failed upgrade from v11 -> v12 I realised I had > encountered a bug previously reported on the pgsql-bugs mailing list: > > #14242 Role with a setconfig "role" setting to a nonexistent role causes > pg_upgrade to fail > > https://www.postgresql.org/message-id/20160711223641.1426.86096%40wrigleys.postgresql.org ... > Since it is possible to write a query to identify these cases, would there > be appetite for me to submit a patch to add a check for this to > pg_upgrade? > > First time mailing list user here so many apologies for any missteps I have > made in this message. Yes, I think a patch would be good, but the fix might be for pg_dump instead, which pg_upgrade uses. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.
В списке pgsql-hackers по дате отправления: