aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/transaction.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/transaction.hxx')
-rw-r--r--odb/pgsql/transaction.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/pgsql/transaction.hxx b/odb/pgsql/transaction.hxx
index d6f87ca..e83c754 100644
--- a/odb/pgsql/transaction.hxx
+++ b/odb/pgsql/transaction.hxx
@@ -1,5 +1,4 @@
// file : odb/pgsql/transaction.hxx
-// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
#ifndef ODB_PGSQL_TRANSACTION_HXX
@@ -42,6 +41,9 @@ namespace odb
connection_type&
connection ();
+ connection_type&
+ connection (odb::database&);
+
// Return current transaction or throw if there is no transaction
// in effect.
//