Re: Bug in searching path in jsonb_set when walking through JSONB array
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Bug in searching path in jsonb_set when walking through JSONB array |
| Дата | |
| Msg-id | 7364.1458741664@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Bug in searching path in jsonb_set when walking through JSONB array (Michael Paquier <michael.paquier@gmail.com>) |
| Ответы |
Re: Bug in searching path in jsonb_set when walking through
JSONB array
|
| Список | pgsql-hackers |
Michael Paquier <michael.paquier@gmail.com> writes:
> That's ugly. We should actually use TextDatumGetCString because the
> index is stored as text here via a Datum, and then it is converted
> back to an integer. So I propose instead the simple patch attached
> that fixes the failure for me. Could you check if that works for you?
Yeah, this seems better. But that code needs review anyway, as it's using
elog() for user-facing error conditions, and I'm thinking the error texts
could use a bit of attention from a native English speaker.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера