Re: deallocating prepared statements - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: deallocating prepared statements
Date
Msg-id 20081212115314.GA24477@feivel.credativ.de
Whole thread Raw
In response to Re: deallocating prepared statements  ("Haszlakiewicz, Eric" <EHASZLA@transunion.com>)
List pgsql-interfaces
[Sorry, I seem to not have answered yet, I thought I had. ]

On Wed, Dec 03, 2008 at 11:38:27AM -0600, Haszlakiewicz, Eric wrote:
> So why is preparing a statement in ecpg different from preparing one
> with libpq?  Isn't the actual prepare done on the server?

The actual prepare yes, but there are internal ecpg structures involved too,
e.g. it needs the connection involved. Without getting the connection
information there is no way to deallocate the statement.

Michael

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


pgsql-interfaces by date:

Previous
From: Bosco Rama
Date:
Subject: gcc _Decimal types & ecpg
Next
From: Michael Meskes
Date:
Subject: Re: gcc _Decimal types & ecpg