Index: trunk/phase3/maintenance/postgres/tables.sql |
— | — | @@ -457,9 +457,9 @@ |
458 | 458 | $mw$ |
459 | 459 | BEGIN |
460 | 460 | IF TG_OP = 'INSERT' THEN |
461 | | - NEW.titlevector = to_tsvector('default',NEW.page_title); |
| 461 | + NEW.titlevector = to_tsvector('default',REPLACE(NEW.page_title,'/',' ')); |
462 | 462 | ELSIF NEW.page_title != OLD.page_title THEN |
463 | | - NEW.titlevector := to_tsvector('default',NEW.page_title); |
| 463 | + NEW.titlevector := to_tsvector('default',REPLACE(NEW.page_title,'/',' ')); |
464 | 464 | END IF; |
465 | 465 | RETURN NEW; |
466 | 466 | END; |