summaryrefslogtreecommitdiff
path: root/odb/relational/pgsql/header.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-09-06 16:52:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-09-06 16:52:28 +0200
commit9531a62d7dc0adb28cd1687ec5fe4b9480b83bf1 (patch)
tree14db4f0bccb9fcecb6605699f71007c207779a4f /odb/relational/pgsql/header.cxx
parent61663c06d351a7c5cb868840d3c94cb95335b2d6 (diff)
View support customizations for PostgreSQL
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_;