From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | jiri(dot)langr(at)konero(dot)cz, PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: [BUGS] Bug #904: Deallocating of prepared statement in ECPG at |
Date: | 2003-03-21 15:04:51 |
Message-ID: | 20030321150451.GA27690@feivel.fam-meskes.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers 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(at)Fam-Meskes(dot)De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2003-03-21 15:16:15 | Re: Bug #915: problem with returning setof with double precision |
Previous Message | Tom Lane | 2003-03-21 15:00:01 | Re: Bug #915: problem with returning setof with double precision values |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-03-21 15:13:54 | Re: A bad behavior under autocommit off mode |
Previous Message | Anand B Kumar | 2003-03-21 14:38:59 | Please clarify with regard to Renaming a Sequence |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Meskes | 2003-03-21 15:06:48 | Re: embedded sql interface to ip address type |
Previous Message | Dave Cramer | 2003-03-21 13:54:22 | Re: Roadmap for FE/BE protocol redesign |