Re: Timing events WIP v1

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Timing events WIP v1
Дата
Msg-id 50AC2822.1020401@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: Timing events WIP v1  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Timing events WIP v1  (Greg Smith <greg@2ndQuadrant.com>)
Список pgsql-hackers
On 11/20/2012 04:48 PM, Pavel Stehule wrote:
> 2012/11/20 Greg Smith <greg@2ndquadrant.com>:
>> On 11/16/12 12:20 AM, Craig Ringer wrote:
>>
>>> Not that implementing `hstore_to_json` is exactly hard, mind you, as a
>>> quick search shows: https://gist.github.com/2318757
>>
>> Both pulling hstore more firmly into core and adopting something like a
>> hstore_to_json call as the preferred UI for timing event data are all
>> directions I'd be happy to go.  That's why I stopped before trying to even
>> implement that part.  I think the general direction to go is clear, but the
>> details on how to present the resulting data is more of a tarp than even a
>> bikeshed at this point.  It's not a hard problem though.
>>
> I don't like to see current hstore in core - It doesn't support
> nesting, it doesn't support different datatypes, it is not well
> supported by plpgsql
>

... or by many client libraries, though converting hstore values to json
notation for output usually takes care of that.

I can't help but suspect that hstore will be subsumed by native storage
and indexing of json objects, since these are already widely supported
in KV or document stores. Of course, that requires that we come to some
agreement on how to represent literal scalars for interaction with json,
which hasn't seen much progress.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services




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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: StrategyGetBuffer questions
Следующее
От: Abhijit Menon-Sen
Дата:
Сообщение: Re: [PATCH] binary heap implementation