[BUGS] BUG #1755: SPI_execute_plan not releasing memory even after SPI_finish

2005-07-05 Thread Tzahi Fadida
The following bug has been logged online: Bug reference: 1755 Logged by: Tzahi Fadida Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.3 Operating system: Linux 2.6.3-7mdk Description:SPI_execute_plan not releasing memory even after SPI_finish Details: I

Re: [BUGS] a bug that might be related to BUG #1739

2005-07-03 Thread Tzahi Fadida
PG_RETURN_INT32(1); } Regards, tzahi. > -Original Message- > From: Tom Lane [mailto:[EMAIL PROTECTED] > Sent: Monday, July 04, 2005 12:54 AM > To: Tzahi Fadida > Cc: pgsql-bugs@postgresql.org > Subject: Re: [BUGS] a bug that might be related to BUG #1739

[BUGS] a bug that might be related to BUG #1739

2005-07-03 Thread Tzahi Fadida
I am writing C functions and I use SPI extensively. Till now I used cursors and there was no memory leaks. But now I do thousands of inserts using SPI_execp and I also give it parameters. Now, when I execute the insert about 50-100 times I loose around 100kb memory and SPI_finish() does not release