Postgres/C'ish question

Поиск
Список
Период
Сортировка
От Kristopher Kiger
Тема Postgres/C'ish question
Дата
Msg-id 6E9A4793A6618D449624437CEC58412A89F631@dgnx-ex-w-1.corp.digonex.com
обсуждение исходный текст
Список pgsql-admin

If I execute a command-line C program that is in charge of running a postgres function that will execute a .so written in C multiple times. my question is this: if there is unfreed memory allocated from the .so after the execution of one function call from postgres through this script, will that unfreed memory be released for the next time postgres calls this function through the script or will the memory stay unfreed and execution continue till either the script finishes or the buildup of unfreed heap in the .so causes the function to segfault?  Is this more of an OS question?

В списке pgsql-admin по дате отправления:

Предыдущее
От: Albert Shih
Дата:
Сообщение: Re: WAL backup
Следующее
От:
Дата:
Сообщение: Problem to compiling with SunStudio