| От | Tom Lane |
|---|---|
| Тема | Re: how do you get there from here? |
| Дата | |
| Msg-id | 5771.1240849424@sss.pgh.pa.us обсуждение |
| Ответ на | Re: how do you get there from here? ("Michael P. Soulier" <michael_soulier@mitel.com>) |
| Ответы |
Re: how do you get there from here?
|
| Список | pgsql-general |
"Michael P. Soulier" <michael_soulier@mitel.com> writes:
> But I don't understand why this was required. What's wrong with adding a
> column and copying data into it in a transaction?
Nothing. The problem apparently is that you've got deferred AFTER
triggers on that table, so the UPDATE commands have left unprocessed
trigger events behind, and the system can't be sure that those events
would still be sensible to fire after doing further ALTERs on the table.
*Why* you've got such triggers is not apparent from what you've told us.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера