| От | Michael Fuhr |
|---|---|
| Тема | Re: Data corruption/loss when altering tables (fwd) |
| Дата | |
| Msg-id | 20041122175443.GA81377@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | Re: Data corruption/loss when altering tables (fwd) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Data corruption/loss when altering tables (fwd)
|
| Список | pgsql-bugs |
On Mon, Nov 22, 2004 at 12:14:30PM -0500, Tom Lane wrote: > The problem shown in your example is simply that the UPDATE in the > plpgsql function has cached a plan that applies to the original format > of the table. You don't need to restart the server, but you do need to > start a fresh session to get rid of the obsolete cached plan. Would LOAD 'plpgsql' work? Would that cause a fresh compile of the function the next time it's called, resulting in a new cached plan? It appears to work that way in simple tests -- are there situations where that wouldn't work? -- Michael Fuhr http://www.fuhr.org/~mfuhr/
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера