BUG #7620: array_to_json doesn't support heterogeneous arrays

Поиск
Список
Период
Сортировка
От ghazel@gmail.com
Тема BUG #7620: array_to_json doesn't support heterogeneous arrays
Дата
Msg-id E1TQnxe-0002WI-DP@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #7620: array_to_json doesn't support heterogeneous arrays
Re: BUG #7620: array_to_json doesn't support heterogeneous arrays
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7620
Logged by:          Greg Hazel
Email address:      ghazel@gmail.com
PostgreSQL version: 9.2.1
Operating system:   Amazon Linux
Description:        =


array_to_json(ARRAY['foo', 100, true]) complains because arrays can't have
mixed types, but json arrays can.

So, it's not possible to form a heterogeneous json array, when this is often
desired.

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Posrgresql for Suse linux 64-bit version on OS/390
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: BUG #7620: array_to_json doesn't support heterogeneous arrays