diff --git a/INSTALL b/INSTALL index dafd9a2..94a92c0 100644 --- a/INSTALL +++ b/INSTALL @@ -50,6 +50,9 @@ PostgreSQL version: echo "grant all on pg_ts_parser to luminotes;" | psql luminotes echo "update pg_ts_cfg set locale = 'en_US.UTF-8' where ts_name = 'default';" | psql luminotes +Note that you can use a different UTF-8 locale if you prefer. For instance, in +the command above, you can use 'en_GB.UTF-8' instead of 'en_US.UTF-8'. + Initialize the database with the starting schema and default data: export PYTHONPATH=. diff --git a/model/schema.sql b/model/schema.sql index f36d40e..3d6ae2b 100644 --- a/model/schema.sql +++ b/model/schema.sql @@ -344,9 +344,6 @@ CREATE TRIGGER search_update EXECUTE PROCEDURE tsearch2('search', 'drop_html_tags', 'title', 'contents'); -UPDATE pg_ts_cfg SET locale = 'en_US.UTF-8' WHERE ts_name = 'default'; - - -- -- Name: public; Type: ACL; Schema: -; Owner: postgres --