Re: [PATCH] Fix memory corruption in pg_shdepend.c

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCH] Fix memory corruption in pg_shdepend.c
Дата
Msg-id 202110211455.nallnmm5gavd@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: [PATCH] Fix memory corruption in pg_shdepend.c  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: [PATCH] Fix memory corruption in pg_shdepend.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2021-Oct-21, Michael Paquier wrote:

> On Wed, Oct 20, 2021 at 09:19:51AM -0300, Alvaro Herrera wrote:
> > Ouch ... this means that pg_shdepends contents are broken for databases
> > created with 14.0?  hmm ... yes.
> 
> Yes, it means so :(

For the upcoming release notes in 14.1 I think we'd do well to document
how to find out if you're affected by this; and if you are, how to fix
it.

I suppose pg_describe_object can be used on the contents of pg_shdepend
to detect it.  I'm less sure what to do to correct it -- delete the
bogus entries and regenerate them with some bulk query?

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"Ninguna manada de bestias tiene una voz tan horrible como la humana" (Orual)



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Assorted improvements in pg_dump
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: wait event and archive_command