Re: Weird special case in jsonb_concat()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Weird special case in jsonb_concat()
Дата
Msg-id 543166.1608574537@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Weird special case in jsonb_concat()  ("Joel Jacobson" <joel@compiler.org>)
Список pgsql-hackers
"Joel Jacobson" <joel@compiler.org> writes:
> On Sat, Dec 19, 2020, at 21:35, Tom Lane wrote:
>> Here is a proposed patch for that.

> In addition, to the user wondering how to append a json array-value "as is",
> I think it would be useful to provide an example on how to do this
> in the documentation.

Done in v13 and HEAD; the older table format doesn't really have room
for more examples.

> +1 back-patch, I think it's a bug.

I'm not quite sure it's a bug, but it does seem like fairly unhelpful
behavior to throw an error instead of doing something useful, so
back-patched.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dmitry Markman
Дата:
Сообщение: Re: how to find log
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: bad dependency in pg_dump output related to support function breaks binary upgrade