comparison Framework/PostgreSQL/PostgreSQLTransaction.cpp @ 234:d1b124d116c1

PostgreSQL index plugin handles retries for collisions between multiple writers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Apr 2021 10:50:01 +0200
parents fbb52129158a
children 35598014f140
comparison
equal deleted inserted replaced
233:7d46c99523a2 234:d1b124d116c1
40 40
41 PostgreSQLTransaction::~PostgreSQLTransaction() 41 PostgreSQLTransaction::~PostgreSQLTransaction()
42 { 42 {
43 if (isOpen_) 43 if (isOpen_)
44 { 44 {
45 LOG(WARNING) << "PostgreSQL: An active PostgreSQL transaction was dismissed"; 45 LOG(INFO) << "PostgreSQL: An active PostgreSQL transaction was dismissed";
46 46
47 try 47 try
48 { 48 {
49 database_.Execute("ABORT"); 49 database_.Execute("ABORT");
50 } 50 }