On Sun, Jul 10, 2011 at 10:14 PM, Adarsh Sharma
<adarsh.sharma@orkash.com> wrote:
> Dear all,
>
> Today I need to create a schema for my application website that allows user
> comments too.
>
> I think we have to maintain hierarchical data and it is very common as all
> sites are supporting this feature.
>
> Can somebody suggest me some guidelines to follow and some links too.
>
PostgreSQL supports WITH RECURSIVE as of 8.4 and higher.
http://www.postgresql.org/docs/8.4/static/queries-with.html
Best Wishes,
Chris Travers