aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/pgsql/header.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/pgsql/header.cxx')
-rw-r--r--odb/relational/pgsql/header.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/odb/relational/pgsql/header.cxx b/odb/relational/pgsql/header.cxx
index 1622aff..8a606bd 100644
--- a/odb/relational/pgsql/header.cxx
+++ b/odb/relational/pgsql/header.cxx
@@ -21,9 +21,9 @@ namespace relational
class_ (base const& x): base (x) {}
virtual void
- object_public_extra_post (type& t)
+ object_public_extra_post (type& c)
{
- if (abstract (t))
+ if (abstract (c))
return;
// Statement names.
@@ -50,6 +50,15 @@ namespace relational
<< endl;
}
+
+ virtual void
+ view_public_extra_post (type&)
+ {
+ // Statement names.
+ //
+ os << "static const char* const query_statement_name;"
+ << endl;
+ }
};
entry<class_> class_entry_;