View Single Post

   
  #3 (permalink)  
Old 04-18-2008, 10:33 AM
Teodor Sigaev
 
Posts: n/a
Default Re: tsearch refactorings

> Ok. Probably easiest to do that by changing the palloc to palloc0 in
> parse_tsquery.


and change sizeof to sizeof(QueryItem)

--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote