@@ -19,11 +19,11 @@ Install
1919Installing the extension is quite simple, especially if you're on 9.1.
2020In that case all you need to do is this:
2121
22- $ make install
22+ $ make install
2323
2424and then (after connecting to the database)
2525
26- db=# CREATE EXTENSION shared_ispell;
26+ db=# CREATE EXTENSION shared_ispell;
2727
2828If you're on pre-9.1 version, you'll have to do the second part manually
2929by running the SQL script (shared_ispell--x.y.sql) in the database. If
@@ -37,14 +37,14 @@ module. This needs to be done from postgresql.conf, as the module
3737needs to allocate space in the shared memory segment. So add this to
3838the config file (or update the current values)
3939
40- # libraries to load
41- shared_preload_libraries = 'shared_ispell'
40+ # libraries to load`
41+ shared_preload_libraries = 'shared_ispell'`
4242
43- # known GUC prefixes
44- custom_variable_classes = 'shared_ispell'
43+ # known GUC prefixes
44+ custom_variable_classes = 'shared_ispell'
4545
46- # config of the shared memory
47- shared_ispell.max_size = 30MB
46+ # config of the shared memory
47+ shared_ispell.max_size = 30MB
4848
4949Yes, there's a single GUC variable that defines the maximum size of
5050the shared segment. This is a hard limit, the shared segment is not
@@ -88,7 +88,7 @@ you may use to define custom dictionaries. E.g. you may do this
8888
8989and then do the usual stuff, e.g.
9090
91- SELECT ts_lexize('czech_shared', 'automobile');
91+ db=# SELECT ts_lexize('czech_shared', 'automobile');
9292
9393or whatever you want.
9494
@@ -111,7 +111,7 @@ return list of dictionaries / stop lists loaded in the shared segment
111111
112112e.g. like this
113113
114- SELECT * FROM shared_ispell_dicts();
114+ db=# SELECT * FROM shared_ispell_dicts();
115115
116116 dict_name | affix_name | words | affixes | bytes
117117-----------+------------+-------+---------+----------
@@ -120,7 +120,7 @@ e.g. like this
120120(2 rows)
121121
122122
123- SELECT * FROM shared_ispell_stoplists();
123+ db=# SELECT * FROM shared_ispell_stoplists();
124124
125125 stop_name | words | bytes
126126-----------+-------+-------
@@ -133,6 +133,6 @@ the dictionaries will be forced to reinitialize them (the first one
133133will rebuild and copy them in the shared segment, the other ones will
134134use this prepared data).
135135
136- SELECT shared_ispell_reset();
136+ db=# SELECT shared_ispell_reset();
137137
138138That's all for now ...