aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-21 23:23:11 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-21 23:23:11 +0200
commit5f594ccd2a248c40a322d47928df6d67eda8ad89 (patch)
tree223f69971e7b218aaee903fdf46d567200c56573
parentf36f949d58d4935727066edb3c71596b8949f088 (diff)
Correct container statement name generation for PostgreSQL
-rw-r--r--odb/relational/pgsql/source.cxx4
1 files 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