Re: json(b)_to_tsvector with numeric values

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>
Cc: Arthur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>, Oleg Bartunov <obartunov(at)postgrespro(dot)ru>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: json(b)_to_tsvector with numeric values
Date: 2018-04-07 15:09:12
Message-ID: 7abcaa6b-b08e-e807-de88-d8a05867d76b@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-04-07 15:15:01 Re: [HACKERS] Restrict concurrent update/delete with UPDATE of partition key
Previous Message Tomas Vondra 2018-04-07 14:52:44 Re: [HACKERS] [PATCH] Incremental sort