Re: Graph datatype addition - Mailing list pgsql-hackers

From Misa Simic
Subject Re: Graph datatype addition
Date
Msg-id CAH3i69nxF-g+ef17mEpAaECVjLRpuTLsYyO476BjyVarw0oB5w@mail.gmail.com
Whole thread Raw
In response to Re: Graph datatype addition  (Atri Sharma <atri.jiit@gmail.com>)
Responses Re: Graph datatype addition
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] add --throttle option to pgbench
Next
From: Misa Simic
Date:
Subject: Re: Graph datatype addition