summaryrefslogtreecommitdiff
path: root/odb/relational/pgsql/schema.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-12-12 11:26:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-12-12 11:26:44 +0200
commita5f24411433aeb61ad015129354a664820affab0 (patch)
tree25fb5a97c0c070b78c9318f1da3dcbc484785918 /odb/relational/pgsql/schema.cxx
parent2ad2e5500dd075db421a516502c9e522fdc34ee0 (diff)
Add support for SQL name transformations
Diffstat (limited to 'odb/relational/pgsql/schema.cxx')
-rw-r--r--odb/relational/pgsql/schema.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/odb/relational/pgsql/schema.cxx b/odb/relational/pgsql/schema.cxx
index 5574bdb..b0d4f50 100644
--- a/odb/relational/pgsql/schema.cxx
+++ b/odb/relational/pgsql/schema.cxx
@@ -170,18 +170,6 @@ namespace relational
{
create_index (base const& x): base (x) {}
- virtual string
- name (sema_rel::index& in)
- {
- // In PostgreSQL, index names are database-global. Make them unique
- // by prefixing the index name with table name. Note, however, that
- // they cannot be qualified with the schema name.
- //
- return quote_id (
- static_cast<sema_rel::table&> (in.scope ()).name ().uname ()
- + "_" + in.name ());
- }
-
virtual void
create (sema_rel::index& in)
{