Re: 7.3 and HEAD broken for dropped columns of dropped types
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: 7.3 and HEAD broken for dropped columns of dropped types |
| Дата | |
| Msg-id | 20030511202847.GA4893@dcc.uchile.cl обсуждение |
| Ответ на | 7.3 and HEAD broken for dropped columns of dropped types (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On Sun, May 11, 2003 at 04:20:59PM -0400, Tom Lane wrote: > I am thinking that it might be a good idea for ALTER TABLE DROP COLUMN > to reset atttypid to zero in the dropped column's pg_attribute row. > This would help catch any other places that are depending on a dropped > column's atttypid to still be valid. On the other hand, it would > possibly confuse applications that are looking at pg_attribute. > Comments anyone? Applications looking at pg_attribute and ignoring attisdropped are broken anyway, so just exposing their brokenness by means of setting an invalid atttypid does not make them any more (nor any less) broken. -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) "Porque francamente, si para saber manejarse a uno mismo hubiera que rendir examen... ¿Quién es el machito que tendría carnet?" (Mafalda)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера