Re: Renaming MemoryContextResetAndDeleteChildren to MemoryContextReset
В списке pgsql-hackers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | Re: Renaming MemoryContextResetAndDeleteChildren to MemoryContextReset |
| Дата | |
| Msg-id | 20150226224109.GK24199@awork2.anarazel.de обсуждение |
| Ответ на | Re: Renaming MemoryContextResetAndDeleteChildren to MemoryContextReset (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: Renaming MemoryContextResetAndDeleteChildren to MemoryContextReset
|
| Список | pgsql-hackers |
On 2015-02-26 23:31:16 +0100, Andres Freund wrote: > Without a compiler erroring out people won't notice that suddenly > MemoryContextReset deletes much more; leading to possibly hard to find > errors. Context resets frequently are in error paths, and those won't > necessarily be hit when running with assertions enabled. I'd really not even be surprised if a committer backpatches a MemoryContextReset() addition, not realizing it behaves differently in the back branches. How about MemoryContextReset(bool reset_children)? Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера