Re: Graph datatype addition

Поиск
Список
Период
Сортировка
От Misa Simic
Тема Re: Graph datatype addition
Дата
Msg-id CAH3i69nxF-g+ef17mEpAaECVjLRpuTLsYyO476BjyVarw0oB5w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Graph datatype addition  (Atri Sharma <atri.jiit@gmail.com>)
Ответы Re: Graph datatype addition  (Atri Sharma <atri.jiit@gmail.com>)
Список pgsql-hackers
Hi Atri,

What is an example of custom internal representation and its JSON representation (though and JSON and HStore represent its value as text)?

I also think  that the key question is:  "what operations would you support on this
data type?" 

Or what kind of problems it will solve? (what can't be solved now - or can now - but new type will allow the better way...)

Thanks,

Misa


2013/4/29 Atri Sharma <atri.jiit@gmail.com>
>
> I don't agree with this; JSON is not really designed to store graphs.
> You will probably need a customized internal representation, just like
> hstore, that expresses a graph like structure.

Yes, we will have a custom internal representation. I was thinking of
ways to export the graph into user parsable type, hence JSON.



Regards,

Atri


--
Regards,

Atri
l'apprenant


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] add --throttle option to pgbench
Следующее
От: Misa Simic
Дата:
Сообщение: Re: Graph datatype addition