aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/pgsql/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-01-23 10:53:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-01-23 10:53:46 +0200
commit4701df22146e4e4fc0c7fe58903fbd0482defcb5 (patch)
tree502bff26d72ddf0f70513079f33ba9c29c10a28e /odb/relational/pgsql/context.hxx
parent36863f5f31c202e45c8a406a321deb8d237cbc14 (diff)
Handle name truncation in PostgreSQL
Diffstat (limited to 'odb/relational/pgsql/context.hxx')
-rw-r--r--odb/relational/pgsql/context.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/relational/pgsql/context.hxx b/odb/relational/pgsql/context.hxx
index b7ec873..f3e195c 100644
--- a/odb/relational/pgsql/context.hxx
+++ b/odb/relational/pgsql/context.hxx
@@ -98,10 +98,21 @@ namespace relational
static sql_type
parse_sql_type (string, custom_db_types const* = 0);
+ public:
+ // Construct statement name from a given type and name.
+ //
+ string
+ statement_name (string const& type,
+ string const& name,
+ semantics::node&);
+
protected:
virtual string const&
convert_expr (string const&, semantics::data_member&, bool);
+ virtual string
+ quote_id_impl (qname const&) const;
+
virtual bool
grow_impl (semantics::class_&, user_section*);