| От | Kjetil Haaland |
|---|---|
| Тема | Re: memory allocation in postgres |
| Дата | |
| Msg-id | 001701c4d0dd$bff634f0$0200000a@goodspeed обсуждение исходный текст |
| Ответ на | memory allocation in postgres (Kjetil Haaland <kjetil.haaland@student.uib.no>) |
| Ответы |
Re: memory allocation in postgres
|
| Список | pgsql-novice |
>> The problem is, when i allocate memory in some of the other functions it >> is >> null the first time i call it, and thats correct, but the next time i >> call >> the same function, what was inserted in the last round is still there. > > Isn't that what you just said you wanted? > No and yes, in the first function i wanted it to last, but in the next i want it to go away, so my question is how do i free the memory, so that next time i call the function in the same session the pointer that points to the char value, points to a null value or nothing? -Kjetil
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера