Re: [BUGS] Bug #904: Deallocating of prepared statement in ECPG at - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: [BUGS] Bug #904: Deallocating of prepared statement in ECPG at
Date
Msg-id 20030321150451.GA27690@feivel.fam-meskes.de
Whole thread Raw
In response to Re: [BUGS] Bug #904: Deallocating of prepared statement in ECPG at  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [BUGS] Bug #904: Deallocating of prepared statement
List pgsql-interfaces
> > When I prepare a statement in ECPG it lives only to first explicit transaction block. At the COMMIT it seems to be
deallocated.

Yes, it indeed is. I knew I found some docs stating it has to be. But
since I cannot find them anymore I wonder what kind of docs it was.

Very simple to fix. Just remove the call to ECPGdeallocate_all from
ECPGtrans() in file ecpg/ecpglib/misc.c resp. ecpg/lib/misc.c.

Michael

-- 
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-interfaces by date:

Previous
From: Rob Fowler
Date:
Subject: embedded sql interface to ip address type
Next
From: Michael Meskes
Date:
Subject: Re: embedded sql interface to ip address type