Re: BUG #3723: dropping an index that doesn't refer to table's columns
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #3723: dropping an index that doesn't refer to table's columns |
| Дата | |
| Msg-id | 18640.1194358905@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #3723: dropping an index that doesn't refer to table's columns ("Sam Mason" <sam@samason.me.uk>) |
| Ответы |
Re: BUG #3723: dropping an index that doesn't refer to table's
columns
|
| Список | pgsql-bugs |
"Sam Mason" <sam@samason.me.uk> writes:
> I've just discovered that an index that doesn't refer to any of its table's
> columns isn't automatically dropped when its table is.
A straightforward solution would be to ban such "indexes".
> p.s. the reason for creating this strange index was to ensure that a maximum
> of one row was inserted into the table---I can do this different ways for
> now.
Please explain how you thought it would help you do that, because
without some evidence that there's a use-case, I'm inclined to fix it
as above ...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера