Removed locale setting from model/schema.sql and put it in the INSTALL instructions instead.
This commit is contained in:
parent
7e713b92b8
commit
4b795ef722
3
INSTALL
3
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=.
|
||||
|
|
|
@ -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
|
||||
--
|
||||
|
|
Reference in New Issue