plscheme - plscheme: Avoid freeing SPI plan which will already be freed

From: knt(at)pgfoundry(dot)org (User Knt)
To: pgsql-committers(at)postgresql(dot)org
Subject: plscheme - plscheme: Avoid freeing SPI plan which will already be freed
Date: 2008-02-24 09:38:25
Message-ID: 20080224093825.420EE17ADCE9@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Avoid freeing SPI plan which will already be freed at the end of
function transaction. Move plan into a permanent memory context and
let Guile GC do its work. (Patch from Willem Dijkstra & Yeb Havinga.)

Modified Files:
--------------
plscheme:
plscheme.c (r1.24 -> r1.25)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/plscheme/plscheme/plscheme.c.diff?r1=1.24&r2=1.25)

Browse pgsql-committers by date

  From Date Subject
Next Message User Carvalho 2008-02-24 15:36:32 pllua - pllua: New Directory
Previous Message Tom Lane 2008-02-24 05:22:47 pgsql: Use our own getopt() and getopt_long() on Solaris, because that