From 5f594ccd2a248c40a322d47928df6d67eda8ad89 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 21 Jul 2011 23:23:11 +0200 Subject: Correct container statement name generation for PostgreSQL --- odb/relational/pgsql/source.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odb/relational/pgsql/source.cxx b/odb/relational/pgsql/source.cxx index 3b7664d..7d60ec8 100644 --- a/odb/relational/pgsql/source.cxx +++ b/odb/relational/pgsql/source.cxx @@ -981,11 +981,11 @@ namespace relational string stmt_prefix (top_object->fq_name () + m.fq_name ()); os << stmt_decl << endl - << "insert_one_name = " << + << "select_all_name = " << strlit (stmt_prefix + "_select_all") << ";" << endl << stmt_decl << endl - << "select_all_name = " << + << "insert_one_name = " << strlit (stmt_prefix + "_insert_one") << ";" << endl << stmt_decl << endl -- cgit v1.1