Re: jsonpath
От | Alexander Korotkov |
---|---|
Тема | Re: jsonpath |
Дата | |
Msg-id | CAPpHfdv+YtPtmircv0kDNH8t9CJ2u8NVGT0JMOxxG2Tdi9BAYg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: jsonpath (Alexander Korotkov <a.korotkov@postgrespro.ru>) |
Ответы |
Re: jsonpath
|
Список | pgsql-hackers |
On Sun, Jan 27, 2019 at 1:50 PM Alexander Korotkov <a.korotkov@postgrespro.ru> wrote: > On Sat, Jan 26, 2019 at 4:27 AM Alexander Korotkov > <a.korotkov@postgrespro.ru> wrote: > > > > On Wed, Jan 23, 2019 at 8:01 AM Alexander Korotkov > > <a.korotkov@postgrespro.ru> wrote: > > > Finally, I'm going to commit this if no objections. > > > > BTW, I decided to postpone commit for few days. Nikita and me are > > still working on better error messages. > > Updated patchset is attached. This patchset includes: > > * Improved error handling by Nikita, revised by me, > * Code beautification. > > So, I'm going to commit this again. This time seriously :) I'm really sorry for confusing people, but I've one more revision. This is my first time attempting to commit such a large patch. Major changes are following: * We find it ridiculous to save ErrorData for possible latter throw. Now, we either throw an error immediately or return jperError. That also allows to get rid of unwanted changes in elog.c/elog.h. * I decided to change behavior of jsonb_path_match() to throw as less errors as possible. The reason is that it's used to implement potentially (patch is pending) indexable operator. Index scan is not always capable to throw as many errors and sequential scan. So, it's better to not introduce extra possible index scan and sequential scan results divergence. So, this is version I'm going to commit unless Nikita has corrections or anybody else objects. ------ Alexander Korotkov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
Вложения
В списке pgsql-hackers по дате отправления: