From db71e956ea808569ce1e5bbcabb7e65dc4604ac8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Sep 2011 16:03:25 +0200 Subject: Support for views; integrated part --- odb/pgsql/traits.hxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'odb/pgsql/traits.hxx') diff --git a/odb/pgsql/traits.hxx b/odb/pgsql/traits.hxx index e0aff15..5fe65b6 100644 --- a/odb/pgsql/traits.hxx +++ b/odb/pgsql/traits.hxx @@ -438,6 +438,16 @@ namespace odb { }; + template + struct default_value_traits: c_string_value_traits + { + }; + + template + struct default_value_traits: c_string_value_traits + { + }; + // std::vector (buffer) specialization. // template <> @@ -574,6 +584,12 @@ namespace odb { static const database_type_id db_type_id = id_string; }; + + template + struct default_type_traits + { + static const database_type_id db_type_id = id_string; + }; } } -- cgit v1.1