Re: [HACKERS] Memory management with C aggregate

2004-07-16 Thread Ian Burrell
Tom Lane wrote: Ian Burrell <[EMAIL PROTECTED]> writes: We have user-defined aggregates written in C running inside the server. We are running into some memory management issues and wondering what is the best way to solve the problem. The state of the aggregates is a structure with a pointer to

Re: [HACKERS] Memory management with C aggregate

2004-07-10 Thread Tom Lane
Ian Burrell <[EMAIL PROTECTED]> writes: > We have user-defined aggregates written in C running inside the server. > We are running into some memory management issues and wondering what > is the best way to solve the problem. > The state of the aggregates is a structure with a pointer to alloca

[HACKERS] Memory management with C aggregate

2004-07-09 Thread Ian Burrell
We have user-defined aggregates written in C running inside the server. We are running into some memory management issues and wondering what is the best way to solve the problem. The state of the aggregates is a structure with a pointer to allocated memory. The structure and memory are alloca