Skip site navigation (1) Skip section navigation (2)

Re: 8.0.0rc1 core dump with PREPARE in a function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 8.0.0rc1 core dump with PREPARE in a function
Date: 2004-12-11 18:42:53
Message-ID: 17969.1102790573@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Michael Fuhr <mike(at)fuhr(dot)org> writes:
> I can consistenly produce a core dump by calling a function that
> executes PREPARE...INSERT or PREPARE...UPDATE, then calling it again.

I think this is a variant of the same problem recently detected with
DECLARE CURSOR, ie, PREPARE had better copy the source parsetree before
letting the planner touch it.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Bruno Wolff IIIDate: 2004-12-11 19:54:35
Subject: Re: concat fails 'sometimes' on empty colums in select
Previous:From: Magnus HaganderDate: 2004-12-11 18:40:38
Subject: Re: problem while installitn PSQL 8.0 (win)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group