libpq++

Поиск
Список
Период
Сортировка
От David Joyner
Тема libpq++
Дата
Msg-id 002601c19916$836921c0$01854094@bluepoles
обсуждение исходный текст
Ответы Re: libpq++  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
I recently got the latest source from cvs.  I think there's a bug in
pgtransdb.cc.  The pgCommitted flag will never be true after the implicit
BeginTransaction called by creating a PgCursor.

I ran testlibpq3.cc with logging enabled -- sure enough when using a cursor
ABORT is always executed in PgTransaction destructor.  When fetching this
has no effect, but still.

Am I missing something?  Does one need to somehow explicitly call
EndTransaction?  If so, how?  That's a protected member, and nothing in
PgCursor seems to call it.

Also, PgCursor is the only module I can see that has std:: namespace
dependency.  Why?

Thanks for your time
Dave Joyner


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: ECPG bug: allocate descriptor does not clear sqlcode
Следующее
От: "Global Recruiter"
Дата:
Сообщение: help! in need of a dba w/oracle and postgres