1 CREATE EXTENSION dict_int;
3 select ts_lexize('intdict', '511673');
9 select ts_lexize('intdict', '129');
15 select ts_lexize('intdict', '40865854');
21 select ts_lexize('intdict', '952');
27 select ts_lexize('intdict', '654980341');
33 select ts_lexize('intdict', '09810106');
39 select ts_lexize('intdict', '14262713');
45 select ts_lexize('intdict', '6532082986');
51 select ts_lexize('intdict', '0150061');
57 select ts_lexize('intdict', '7778');
63 select ts_lexize('intdict', '9547');
69 select ts_lexize('intdict', '753395478');
75 select ts_lexize('intdict', '647652');
81 select ts_lexize('intdict', '6988655574');
87 select ts_lexize('intdict', '1279');
93 select ts_lexize('intdict', '1266645909');
99 select ts_lexize('intdict', '7594193969');
105 select ts_lexize('intdict', '16928207');
111 select ts_lexize('intdict', '196850350328');
117 select ts_lexize('intdict', '22026985592');
123 select ts_lexize('intdict', '2063765');
129 select ts_lexize('intdict', '242387310');
135 select ts_lexize('intdict', '93595');
141 select ts_lexize('intdict', '9374');
147 select ts_lexize('intdict', '996969');
153 select ts_lexize('intdict', '353595982');
159 select ts_lexize('intdict', '925860');
165 select ts_lexize('intdict', '11848378337');
171 select ts_lexize('intdict', '333');
177 select ts_lexize('intdict', '799287416765');
183 select ts_lexize('intdict', '745939');
189 select ts_lexize('intdict', '67601305734');
195 select ts_lexize('intdict', '3361113');
201 select ts_lexize('intdict', '9033778607');
207 select ts_lexize('intdict', '7507648');
213 select ts_lexize('intdict', '1166');
219 select ts_lexize('intdict', '9360498');
225 select ts_lexize('intdict', '917795');
231 select ts_lexize('intdict', '9387894');
237 select ts_lexize('intdict', '42764329');
243 select ts_lexize('intdict', '564062');
249 select ts_lexize('intdict', '5413377');
255 select ts_lexize('intdict', '060965');
261 select ts_lexize('intdict', '08273593');
267 select ts_lexize('intdict', '593556010144');
273 select ts_lexize('intdict', '17988843352');
279 select ts_lexize('intdict', '252281774');
285 select ts_lexize('intdict', '313425');
291 select ts_lexize('intdict', '641439323669');
297 select ts_lexize('intdict', '314532610153');
303 ALTER TEXT SEARCH DICTIONARY intdict (MAXLEN = -214783648); -- fail
304 ERROR: maxlen value has to be >= 1
305 -- This ought to fail, perhaps, but historically it has not:
306 ALTER TEXT SEARCH DICTIONARY intdict (MAXLEN = 6.7);
307 select ts_lexize('intdict', '-40865854');
313 select ts_lexize('intdict', '+40865854');
319 ALTER TEXT SEARCH DICTIONARY intdict (ABSVAL = true);
320 select ts_lexize('intdict', '-40865854');
326 select ts_lexize('intdict', '+40865854');
332 ALTER TEXT SEARCH DICTIONARY intdict (REJECTLONG = 1);
333 select ts_lexize('intdict', '-40865854');
339 select ts_lexize('intdict', '-4086585');
345 select ts_lexize('intdict', '-408658');
351 SELECT dictinitoption FROM pg_ts_dict WHERE dictname = 'intdict';
353 -----------------------------------------------
354 maxlen = 6.7, absval = 'true', rejectlong = 1