| От | Joel Jacobson |
|---|---|
| Тема | Re: Avoid undesired flattening of jsonb arrays? |
| Дата | |
| Msg-id | 358bd217-0891-4f9f-b82f-082bf139191d@www.fastmail.com обсуждение |
| Ответ на | Re: Avoid undesired flattening of jsonb arrays? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
"David G. Johnston" <david.g.johnston@gmail.com> writes:> I'll agree that the description could discuss the case explicitly, and the> array||scalar case could be added to the examples.Yeah, the documentation completely fails to explain what happenswhen the inputs aren't two arrays or two objects. I'd kind of assumedthat that's an error, but it isn't. Some experimentation indicatesthat the behavior in all cases except two objects is to convert anynon-array input to a one-element array, reducing the situation to thetwo-array case.regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера