Changeset 3906


Ignore:
Timestamp:
Nov 5, 2007, 2:24:25 PM (14 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #813: Postgres db-engine ignores schema information in getDropIndexSql() method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/dbengine/PostgresDbEngine.java

    r3675 r3906  
    118118    else
    119119    {
    120       sql.append("DROP INDEX ").append(getQuotedName(name));
     120      sql.append("DROP INDEX ");
     121      if (schema != null) sql.append(getQuotedName(schema)).append(".");
     122      sql.append(getQuotedName(name));
    121123    }
    122124    return sql.toString();
Note: See TracChangeset for help on using the changeset viewer.