Hi Teodor,
I've looked through your version and made a few adjustments.
> Pls, remove tsquery_setweight from patch because it's not a part of phrase
> search and it isn't mentioned in docs. Please, make a separate patch for it.
I've removed tsquery_setweight as you requested. I'm going to add it to the
following commitfest later.
--
Dmitry Ivanov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company