Re: new function for tsquery creartion

From: Dmitry Ivanov <d(dot)ivanov(at)postgrespro(dot)ru>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Aleksandr Parfenov <a(dot)parfenov(at)postgrespro(dot)ru>, David Steele <david(at)pgmasters(dot)net>, Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: new function for tsquery creartion
Date: 2018-03-27 22:46:31
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> 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:
The Russian Postgres Company

Attachment Content-Type Size
websearch_to_tsquery_v2.diff text/x-diff 28.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2018-03-27 22:46:33 Re: WIP: Covering + unique indexes.
Previous Message Chapman Flack 2018-03-27 22:32:08 Re: [HACKERS] AdvanceXLInsertBuffer vs. WAL segment compressibility