Re: BUG #9606: pg_class relhaspkey column not updated on removal of primary key
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #9606: pg_class relhaspkey column not updated on removal of primary key |
| Дата | |
| Msg-id | 14341.1395105679@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #9606: pg_class relhaspkey column not updated on removal of primary key (Jeff Frost <jeff@pgexperts.com>) |
| Ответы |
Re: BUG #9606: pg_class relhaspkey column not updated on removal of primary key
Re: BUG #9606: pg_class relhaspkey column not updated on removal of primary key |
| Список | pgsql-bugs |
Jeff Frost <jeff@pgexperts.com> writes:
> Interestingly, on 9.1.11, I have a table where the pkey was added after the fact, then dropped, but it still shows as
relhaspkeyeven though I manually vacuumed it:
IIRC, VACUUM only clears relhaspkey if there are *no* indexes left --- it
doesn't bother to check whether there's one calling itself indisprimary.
We could possibly change that but it's not clear that it's worth any
effort, given that the column would still have to be defined the same
way.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера