diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-06 16:52:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-06 16:52:28 +0200 |
commit | 9531a62d7dc0adb28cd1687ec5fe4b9480b83bf1 (patch) | |
tree | 14db4f0bccb9fcecb6605699f71007c207779a4f /odb/relational/pgsql/header.cxx | |
parent | 61663c06d351a7c5cb868840d3c94cb95335b2d6 (diff) |
View support customizations for PostgreSQL
Diffstat (limited to 'odb/relational/pgsql/header.cxx')
-rw-r--r-- | odb/relational/pgsql/header.cxx | 13 |
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_; |