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.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/pgsql/transaction.hxx b/odb/pgsql/transaction.hxx
index f1240ec..e83c754 100644
--- a/odb/pgsql/transaction.hxx
+++ b/odb/pgsql/transaction.hxx
@@ -41,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.
//