Re: [HACKERS] [bug fix] Memory leak in dblink

2014-06-10 Thread Tom Lane
Amit Kapila amit.kapil...@gmail.com writes: On Tue, Jun 10, 2014 at 7:30 PM, Robert Haas robertmh...@gmail.com wrote: On Tue, Jun 10, 2014 at 12:27 AM, Amit Kapila amit.kapil...@gmail.com wrote: Is there a need to free memory context in PG_CATCH()? In error path the memory due to this

Re: [HACKERS] [bug fix] Memory leak in dblink

2014-06-10 Thread Amit Kapila
On Wed, Jun 11, 2014 at 10:46 AM, Tom Lane t...@sss.pgh.pa.us wrote: Amit Kapila amit.kapil...@gmail.com writes: In some cases like for handling exceptions in plpgsql, PG_CATCH() is used to handle the exception and then take an appropriate action based on exception, so in some such cases it

<    1   2