Re: json(b)_to_tsvector with numeric values - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: json(b)_to_tsvector with numeric values
Date
Msg-id 7abcaa6b-b08e-e807-de88-d8a05867d76b@sigaev.ru
Whole thread Raw
In response to Re: json(b)_to_tsvector with numeric values  (Dmitry Dolgov <9erthalion6@gmail.com>)
Responses Re: json(b)_to_tsvector with numeric values  (Dmitry Dolgov <9erthalion6@gmail.com>)
List 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/


pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] [PATCH] Incremental sort
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] Restrict concurrent update/delete with UPDATE ofpartition key