From 4b795ef722933e11dbd34ca7498b275f96f10f78 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 5 Aug 2008 16:40:19 -0700 Subject: [PATCH] Removed locale setting from model/schema.sql and put it in the INSTALL instructions instead. --- INSTALL | 3 +++ model/schema.sql | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) 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 --