Re: a bug that might be related to BUG #1739 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: a bug that might be related to BUG #1739
Date
Msg-id 20751.1120431221@sss.pgh.pa.us
Whole thread Raw
In response to a bug that might be related to BUG #1739  (Tzahi Fadida <tzahi_ml@myrealbox.com>)
Responses Re: a bug that might be related to BUG #1739  (Tzahi Fadida <tzahi_ml@myrealbox.com>)
List pgsql-bugs
Tzahi Fadida <tzahi_ml@myrealbox.com> writes:
> 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.

If SPI_execp leaked memory then so would almost any plpgsql function,
so I'm inclined to think the leak is in your own code.  Post a complete
example if you want it investigated.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tzahi Fadida
Date:
Subject: a bug that might be related to BUG #1739
Next
From: Tzahi Fadida
Date:
Subject: Re: a bug that might be related to BUG #1739