Re: Schema for Website Comments - Mailing list pgsql-general

From Chris Travers
Subject Re: Schema for Website Comments
Date
Msg-id CAKt_ZfsVr1AO1er_ED31+DMOZfJFRJ481Qbd43QLx040Nm1ing@mail.gmail.com
Whole thread Raw
In response to Schema for Website Comments  (Adarsh Sharma <adarsh.sharma@orkash.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Florian Pflug
Date:
Subject: Re: [HACKERS] Creating temp tables inside read only transactions
Next
From: Christopher Browne
Date:
Subject: Re: [HACKERS] Creating temp tables inside read only transactions