X-Original-To: pgsql-interfaces@postgresql.org Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id DCA59474E44; Fri, 21 Mar 2003 10:32:43 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h2LFWkc27894; Fri, 21 Mar 2003 10:32:46 -0500 (EST) From: Bruce Momjian Message-Id: <200303211532.h2LFWkc27894@candle.pha.pa.us> Subject: Re: [BUGS] Bug #904: Deallocating of prepared statement In-Reply-To: <20030321150451.GA27690@feivel.fam-meskes.de> To: Michael Meskes Date: Fri, 21 Mar 2003 10:32:46 -0500 (EST) Cc: jiri.langr@konero.cz, PostgreSQL-interfaces X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200303/119 X-Sequence-Number: 3868 This fix will appear in 7.4. Thanks for the report. --------------------------------------------------------------------------- Michael Meskes wrote: > > > 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! > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073