witten
/
luminotes
Archived
1
0
Fork 0

Removed locale setting from model/schema.sql and put it in the INSTALL instructions instead.

This commit is contained in:
Dan Helfman 2008-08-05 16:40:19 -07:00
parent 7e713b92b8
commit 4b795ef722
2 changed files with 3 additions and 3 deletions

View File

@ -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=.

View File

@ -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
--