Re: ecpg crash - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: ecpg crash
Date
Msg-id 20080510090358.GA12271@feivel.credativ.de
Whole thread Raw
In response to ecpg crash  (Euler Taveira de Oliveira <euler@timbira.com>)
List pgsql-hackers
On Sat, May 10, 2008 at 12:14:57AM -0300, Euler Taveira de Oliveira wrote:
> While i'm working on a ecpg patch I found a bug in ecpg code. The simple  
> program above could reproduce it. But basically it crashes (segfault)  
> because it's trying to use a inexistent connection when we're preparing  
> a statement. Don't know if it deserves a ecpg_log() message. A possible  
> fix is attached.

Let me dig into this some more before committing this fix. I wonder if
the same problem holds for other use cases.

Michael

-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: Posting to hackers and patches lists
Next
From: Gregory Stark
Date:
Subject: Re: Posting to hackers and patches lists