Re: hstores in pl/python

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: hstores in pl/python
Дата
Msg-id AANLkTi=VCRsP3E_3h8p535qStQm0j7ViQMMtBgOzSyrY@mail.gmail.com
обсуждение исходный текст
Ответ на Re: hstores in pl/python  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: hstores in pl/python  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
2010/12/14 Andrew Dunstan <andrew@dunslane.net>:
> On 12/14/2010 12:06 PM, Robert Haas wrote:
>>>
>>> I haven't actually figured out what the benefit would be, other than
>>> buzzword compliance and a chance to invent some random nonstandard
>>> syntax.  If the element values all have to be the same type, you've
>>> basically got hstore.
>>
>> Not exactly, because in hstore all the element values have to be,
>> specifically, text.  Having hstores of other kinds of objects would,
>> presumably, be useful.
>>
>
> I love hstore, and I've used it a lot, but I don't think there's much future
> in doing this. This is part of what JSON would buy us, isn't it?

Well, JSON would give you numbers and booleans, but that's a pretty
small subset of all the types in the universe.  I think the main thing
JSON would give you is hierarchical structure.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Complier warnings on mingw gcc 4.5.0
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: hstores in pl/python