Re: [DOCS] [BUGS] BUG #3767: tsearch2 index creation fatal crash

2007-11-20 Thread Tom Lane
"Thomas H." <[EMAIL PROTECTED]> writes: > i saw my mistake. i misinterpreted the examples to show the possibility > to convert *any* text by using casting to tsvector as an alternative to > using to_tsvector :) Yeah, the examples in section 12.1.2 are not actually good practice: both sides of th

Re: [DOCS] [BUGS] BUG #3767: tsearch2 index creation fatal crash

2007-11-20 Thread Bruce Momjian
Tom Lane wrote: > "Thomas H." <[EMAIL PROTECTED]> writes: > > i saw my mistake. i misinterpreted the examples to show the possibility > > to convert *any* text by using casting to tsvector as an alternative to > > using to_tsvector :) > > Yeah, the examples in section 12.1.2 are not actually goo

Re: [DOCS] [BUGS] BUG #3767: tsearch2 index creation fatal crash

2007-11-20 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> I'm not sure that putting in to_tsvector calls there would be an >> improvement, though, since at that point we haven't introduced >> to_tsvector. >> >> Thoughts anyone? > Yep, I saw that chicken and egg problem in the docs when I was

Re: [DOCS] [BUGS] BUG #3767: tsearch2 index creation fatal crash

2007-11-20 Thread Tom Lane
>> I'm not sure that putting in to_tsvector calls there would be an >> improvement, though, since at that point we haven't introduced >> to_tsvector. Uh ... wait a moment ... stop the presses. Thomas is looking at beta1 documentation. CVS HEAD handles this a bit better I think: http://developer.