Re: deallocating prepared statements

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: deallocating prepared statements
Дата
Msg-id 20081212115314.GA24477@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: deallocating prepared statements  ("Haszlakiewicz, Eric" <EHASZLA@transunion.com>)
Список 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 по дате отправления:

Предыдущее
От: Bosco Rama
Дата:
Сообщение: gcc _Decimal types & ecpg
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: gcc _Decimal types & ecpg