Re: new function for tsquery creartion

Dmitry Ivanov <d.ivanov@postgrespro.ru>

From: Dmitry Ivanov <d.ivanov@postgrespro.ru>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Aleksandr Parfenov <a.parfenov@postgrespro.ru>, David Steele <david@pgmasters.net>, Aleksander Alekseev <a.alekseev@postgrespro.ru>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2018-03-27T22:46:31Z
Lists: pgsql-hackers

Attachments

> select websearch_to_tsquery('simple', 'abc or!def');
>  websearch_to_tsquery
> ----------------------
>  'abc' | 'def'
> (1 row)

This is wrong ofc, I've attached the fixed version.

-- 
Dmitry Ivanov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Commits

  1. Add websearch_to_tsquery

  2. Add psql variables to track success/failure of SQL queries.

  3. Wording improvements