| От | Tom Lane |
|---|---|
| Тема | Re: Cascaded Column Drop |
| Дата | |
| Msg-id | 20660.1033098428@sss.pgh.pa.us обсуждение |
| Ответ на | Cascaded Column Drop (Rod Taylor <rbt@rbt.ca>) |
| Ответы |
Re: Cascaded Column Drop
|
| Список | pgsql-patches |
Rod Taylor <rbt@rbt.ca> writes:
> When a cascaded column drop is removing the last column, drop the table
> instead. Regression tests via domains.
Is that a good idea, or should we refuse the drop entirely? A table
drop zaps a lot more stuff than a column drop.
What I was actually wondering about after reading Tim's report was
whether we could support zero-column tables, which would eliminate the
need for the special case altogether. I have not looked to see how
extensive are the places that assume tuples have > 0 columns ...
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера