| От | Hiroshi Inoue |
|---|---|
| Тема | Re: plpgsql function error after alter table add |
| Дата | |
| Msg-id | 3A36C0F2.A52DB121@tpf.co.jp обсуждение исходный текст |
| Ответ на | plpgsql function error after alter table add ("Tim Dunnington" <timbert@timshouse.com>) |
| Список | pgsql-bugs |
Tom Lane wrote: > > "Tim Dunnington" <timbert@timshouse.com> writes: > > If you create a function with a table as the argument, and later alter that > > table and add a new column, the function fails saying "incorrect number of > > attributes for table _tablename_" Dropping and readding the function does > > not fix this problem. > > I think this is not so much a plpgsql bug as a side effect of the rather > shoddy implementation of ALTER TABLE ADD COLUMN. Seems a plpgsql's simple bug. > It doesn't go through > and alter any actual tuples in the table, it just adds the column to the > schema. It seems a nice implementation. Regards. Hiroshi Inoue
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера