From: Michael Meskes <meskes@postgresql.org>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: jiri.langr@konero.cz, PostgreSQL-interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [BUGS] Bug #904: Deallocating of prepared statement in ECPG at
Date: Fri, 21 Mar 2003 16:04:51 +0100
Message-ID: <20030321150451.GA27690@feivel.fam-meskes.de> (raw)
In-Reply-To: <200303192131.h2JLVcQ14766@candle.pha.pa.us>
References: <20030227113519.37C69474E4F@postgresql.org>
<200303192131.h2JLVcQ14766@candle.pha.pa.us>
> > 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!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: meskes@postgresql.org, pgman@candle.pha.pa.us
Subject: Re: [BUGS] Bug #904: Deallocating of prepared statement in ECPG at
In-Reply-To: <20030321150451.GA27690@feivel.fam-meskes.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox