Re: PL/Python adding support for multi-dimensional arrays

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: PL/Python adding support for multi-dimensional arrays
Дата
Msg-id A86513E6-B34D-43C8-A4B4-B700C7A9DA6F@iki.fi
обсуждение исходный текст
Ответ на Re: PL/Python adding support for multi-dimensional arrays  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers

On 14 October 2016 19:18:01 EEST, Jim Nasby <Jim.Nasby@BlueTreble.com> wrote:
>On 10/14/16 3:53 AM, Heikki Linnakangas wrote:
>> Composite types in arrays must now be returned as
>> Python tuples, not lists, to resolve the ambiguity. I.e. "[(col1,
>col2),
>> (col1, col2)]".
>
>Shouldn't dicts be allowed as well? 

Ah yes, dicts are also allowed, as before. And strings. The only change is that a list is interpreted as an array
dimension,instead of a composite type.
 

- Heikki




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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Renaming of pg_xlog and pg_clog
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Extend framework from commit 53be0b1ad to report latch waits.