From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | vkurup(at)massmed(dot)org, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: coalesce in execute crashes backend |
Date: | 2001-06-13 01:06:17 |
Message-ID: | 21273.992394377@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
pgsql-bugs(at)postgresql(dot)org writes:
> coalesce in execute crashes backend
Try the attached patch to 7.1.2. I see Jan's already fixed this in
current sources, but not in the 7.1 branch ...
regards, tom lane
*** src/pl/plpgsql/src/pl_exec.c.orig Mon May 7 21:02:03 2001
--- src/pl/plpgsql/src/pl_exec.c Tue Jun 12 21:02:59 2001
***************
*** 3,9 ****
* procedural language
*
* IDENTIFICATION
! * $Header: /home/projects/pgsql/cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.41.2.1 2001/05/08 01:02:03 tgl Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
--- 3,9 ----
* procedural language
*
* IDENTIFICATION
! * $Header: /home/projects/pgsql/cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.41.2.2 2001/06/13 01:02:59 tgl Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
***************
*** 1922,1930 ****
ObjectIdGetDatum(typeStruct->typelem),
Int32GetDatum(-1)));
- if (!typeStruct->typbyval)
- pfree((void *) query);
-
ReleaseSysCache(typetup);
/*
--- 1922,1927 ----
***************
*** 2037,2045 ****
query,
ObjectIdGetDatum(typeStruct->typelem),
Int32GetDatum(-1)));
-
- if (!typeStruct->typbyval)
- pfree((void *) query);
ReleaseSysCache(typetup);
--- 2034,2039 ----
From | Date | Subject | |
---|---|---|---|
Next Message | Vinod Kurup | 2001-06-13 02:39:54 | Re: coalesce in execute crashes backend |
Previous Message | Rainer Mager | 2001-06-12 22:19:06 | RE: Index files grow forever? |