Re: BUG #18000: Access method used by matview can be dropped leaving broken matview

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #18000: Access method used by matview can be dropped leaving broken matview
Дата
Msg-id ZJtuc3bLLGdtk27f@paquier.xyz
обсуждение исходный текст
Ответ на Re: BUG #18000: Access method used by matview can be dropped leaving broken matview  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-bugs
On Tue, Jun 27, 2023 at 10:03:48AM -0700, Nathan Bossart wrote:
> I haven't looked at the patch, but assuming it's not calling
> finish_heap_swap(), it might be okay.  But it does seem prudent to check
> that the dependency records are handled correctly.

Double-checking, the patch is able to handle that with an extra
changeDependencyFor() in a code path for relkinds that have no
storage.  What the patch does not do it look at pg_depend to see if
the dependency records are stored correctly, and that's something it
had better do.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #18000: Access method used by matview can be dropped leaving broken matview
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #18003: FATAL: cannot request additional shared memory outside shmem_request_hook