Re: [HACKERS] CVS HEAD dumps core on simple tsvector input example

2007-10-17 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> BTW, why does the 'a':6 lexeme disappear? To the extent that I >> understand how this should work, I'd have expected 'a' and 'a':6 >> to merge into 'a':6 not plain 'a'. > 'a':1,6 perhaps? No, it would be inappropriate to add a '1' t

Re: [HACKERS] CVS HEAD dumps core on simple tsvector input example

2007-10-17 Thread Alvaro Herrera
Tom Lane wrote: > BTW, why does the 'a':6 lexeme disappear? To the extent that I > understand how this should work, I'd have expected 'a' and 'a':6 > to merge into 'a':6 not plain 'a'. 'a':1,6 perhaps? -- Alvaro Herrera http://www.amazon.com/gp/registry/DXLWNGRJD34J We take ris

[HACKERS] CVS HEAD dumps core on simple tsvector input example

2007-10-17 Thread Tom Lane
regression=# SELECT 'a very fat cat sat:4 on:5 a:6 mat:7'::tsvector; tsvector --- 'a' 'on':5 'cat' 'fat' 'mat':7 'sat':4 'very' (1 row) regression=# SELECT 'a very fat cat sat:4 on:5 a:6 mat:7'::tsvector; server cl