Aii, indexes and triggers reside in the database-wide namespace and have to be qualified. I'll need to cook up migrations for the places where we already use FTS...
This commit is contained in:
@@ -29,8 +29,6 @@ import java.sql.SQLException;
|
|||||||
import java.sql.Statement;
|
import java.sql.Statement;
|
||||||
import java.sql.Time;
|
import java.sql.Time;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import com.samskivert.jdbc.DatabaseLiaison;
|
import com.samskivert.jdbc.DatabaseLiaison;
|
||||||
@@ -128,8 +126,8 @@ public class PostgreSQLBuilder
|
|||||||
|
|
||||||
String table = marshaller.getTableName();
|
String table = marshaller.getTableName();
|
||||||
String column = "ftsCol_" + fts.name();
|
String column = "ftsCol_" + fts.name();
|
||||||
String index = "ftsIx_" + fts.name();
|
String index = table + "_ftsIx_" + fts.name();
|
||||||
String trigger = "ftsTrig_" + fts.name();
|
String trigger = table + "_ftsTrig_" + fts.name();
|
||||||
|
|
||||||
// build the UPDATE
|
// build the UPDATE
|
||||||
StringBuilder initColumn = new StringBuilder("UPDATE ").
|
StringBuilder initColumn = new StringBuilder("UPDATE ").
|
||||||
|
|||||||
Reference in New Issue
Block a user