Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: [pgAdmin III] #47: Savepoints in PgAdmin



#47: Savepoints in PgAdmin
---------------------------+------------------------------------------------
 Reporter:  Cédric DUPREZ  |       Owner:  dpage 
     Type:  bug            |      Status:  new   
 Priority:  minor          |   Milestone:  1.10.1
Component:  pgadmin        |     Version:  1.8   
 Keywords:  querytool      |    Platform:  all   
---------------------------+------------------------------------------------

Comment(by gleu):

 If it fails, pgAdmin automatically does a ROLLBACK. In the
 frmQuery::completeQuery() method, there is this code:

 // If the transaction aborted for some reason, issue a rollback to
 cleanup.
 if (conn->GetTxStatus() == PGCONN_TXSTATUS_INERROR)
     conn->ExecuteVoid(wxT("ROLLBACK;"));

 We should perhaps have an option to enable/disable this behaviour

-- 
Ticket URL: <http://code.pgadmin.org/trac/ticket/47#comment:1>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III


Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group