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

Поиск
Список
Период
Сортировка
От pgAdmin Trac
Тема Re: [pgAdmin III] #47: Savepoints in PgAdmin
Дата
Msg-id 062.d807a9bcbd0183bd7b375bb631727ea2@code.pgadmin.org
обсуждение исходный текст
Ответ на [pgAdmin III] #47: Savepoints in PgAdmin  ("pgAdmin Trac" <trac@code.pgadmin.org>)
Список pgadmin-hackers
#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

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

Предыдущее
От: "pgAdmin Trac"
Дата:
Сообщение: [pgAdmin III] #47: Savepoints in PgAdmin
Следующее
От: Julius Tuskenis
Дата:
Сообщение: reconnecting to DB after connection break