Re: json(b)_to_tsvector with numeric values
Teodor Sigaev <teodor@sigaev.ru>
From: Teodor Sigaev <teodor@sigaev.ru>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: Arthur Zakirov <a.zakirov@postgrespro.ru>,
Oleg Bartunov <obartunov@postgrespro.ru>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-04-07T15:09:12Z
Lists: pgsql-hackers
>> See workable sketch for parsing jsonb flags and new worker variant.
>
> Yep, thanks for the sketch. Here is the new version of patch, does it look
> close to what you have in mind?
Patch looks good except error messaging, you took it directly from
sketch where I didn't spend time for it. Please, improve. elog() should
be used only for impossible error, whereas user input could contins
mistakes.
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/
Commits
-
Add json(b)_to_tsvector function
- 1c1791e00065 11.0 landed