We need target column on index to be text_pattern_ops, as we are going to start looki...
authorGreg Sabino Mullane <greg@endpoint.com>
Sun, 25 May 2014 20:17:24 +0000 (16:17 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Sun, 25 May 2014 20:17:24 +0000 (16:17 -0400)
bucardo.schema

index cb51461723a9d61066a160e447b519d13380cca3..20ae8204f71ddf74a921a1cd49c3eef60644d654 100644 (file)
@@ -2467,7 +2467,7 @@ SELECT 'Fixme'::TEXT;
 
             ## Need to index both columns of the txntime table
             if (! exists $bindexoid{$noquote_index3_name}) {
-                $SQL = qq{CREATE INDEX $index3_name ON bucardo.$track_table(target, txntime)};
+                $SQL = qq{CREATE INDEX $index3_name ON bucardo.$track_table(target text_pattern_ops, txntime)};
                 $run_sql->($SQL,$dbh);
             }