> 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(at)sigaev(dot)ru WWW: http://www.sigaev.ru/