| От | Andrew Dunstan |
|---|---|
| Тема | C language context |
| Дата | |
| Msg-id | 3F58D5DA.7030601@dunslane.net обсуждение исходный текст |
| Ответы |
Re: C language context
|
| Список | pgsql-hackers |
Just how transient is the memory context created for a C language function call? The reason I ask is that I was getting a seg fault when I attempted to pfree something that should have been palloced. When I commented out the calls to pfree it worked fine. Most annoying ;-) I'm still trying to get to the bottom of it, but I want to know if I'm safe in relying on the context cleanup to handle things for me. It's an immutable text function returning text, and is intended for use in a functional index. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера