| От | Álvaro Herrera |
|---|---|
| Тема | Re: Partitioned index can be not dumped |
| Дата | |
| Msg-id | 202107011701.b5x3e7scf6tp@alvherre.pgsql обсуждение |
| Ответ на | Re: Partitioned index can be not dumped (Alexander Pyhalov <a.pyhalov@postgrespro.ru>) |
| Список | pgsql-hackers |
On 2021-Jun-30, Alexander Pyhalov wrote: > Looks good. It seems this comment refers to line 455. Ah, so it does. I realized that we don't need to do vac_open_indexes for partitioned tables: it is sufficient to know whether there are any indexes at all. So I replaced that with RelationGetIndexList() and checking if the list is nonempty, specifically for the partitioned table case. Pushed now. Thanks for reporting and fixing this, and to Zhihong Yu for reviewing. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "Investigación es lo que hago cuando no sé lo que estoy haciendo" (Wernher von Braun)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера