libpq++ - Mailing list pgsql-interfaces

From David Joyner
Subject libpq++
Date
Msg-id 002601c19916$836921c0$01854094@bluepoles
Whole thread Raw
Responses Re: libpq++  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ECPG bug: allocate descriptor does not clear sqlcode
Next
From: "Global Recruiter"
Date:
Subject: help! in need of a dba w/oracle and postgres