Re: hstores in pl/python

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: hstores in pl/python
Дата
Msg-id AANLkTikGHhnrhhmaVFVtgW+PND9Ss1B+jn458kPB+Z6i@mail.gmail.com
обсуждение исходный текст
Ответ на Re: hstores in pl/python  (Andres Freund <andres@anarazel.de>)
Ответы Re: hstores in pl/python  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: hstores in pl/python  (Dmitriy Igrishin <dmitigr@gmail.com>)
Список pgsql-hackers
>>
>> name and interface - hstore is designed as external module - a
>> internal class can be designed different.
> Could you actually name such a difference rather than pointing to some airily
> hint of one? That would make it way much easier to see where you want to go.

My idea is:

somevar['key'] = value
value = somevar['key'];

or with constructor

somevar = ARRAY[key1 => value1, key2 => value2, .. ]

or some similar.

Regards

Pavel Stehule


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

Предыдущее
От: Aidan Van Dyk
Дата:
Сообщение: Re: ALTER EXTENSION ... UPGRADE;
Следующее
От: Tom Lane
Дата:
Сообщение: Re: proposal : cross-column stats