Re: ALTER INDEX ... ALTER COLUMN not present in dump
Вложения
В списке pgsql-bugs по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | Re: ALTER INDEX ... ALTER COLUMN not present in dump |
| Дата | |
| Msg-id | 20181116004505.GC6613@paquier.xyz обсуждение исходный текст |
| Ответ на | Re: ALTER INDEX ... ALTER COLUMN not present in dump (Michael Paquier <michael@paquier.xyz>) |
| Ответы |
Re: ALTER INDEX ... ALTER COLUMN not present in dump
|
| Список | pgsql-bugs |
On Fri, Nov 16, 2018 at 07:46:01AM +0900, Michael Paquier wrote: > Yes, that's a bug, and something that we should try to fix in v11. Okay, here are my notes. We need to do a couple of things here: 1) Add a new join to pg_attribute in getIndexes(), then add the information for statistics and the associated column to IndxInfo after parsing the gathered array using parsePGArray(). 2) Add the extra ALTER INDEX commands to the queries creating the objects in dumpIndex(). 3) Add a test. A good thing is that when ALTER INDEX .. SET STATISTICS is applied on an index of a partitioned table, the statement is not cascaded to the existing partitions. We may want in the future to support ONLY and make the inheritance automatic. But that's another topic, and the fix for v11 should be chirurgical. -- Michael
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера