Re: Schema for Website Comments

From: Chris Travers <chris(dot)travers(at)gmail(dot)com>
To: Adarsh Sharma <adarsh(dot)sharma(at)orkash(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Schema for Website Comments
Date: 2011-07-11 14:11:07
Message-ID: CAKt_ZfsVr1AO1er_ED31+DMOZfJFRJ481Qbd43QLx040Nm1ing@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Jul 10, 2011 at 10:14 PM, Adarsh Sharma
<adarsh(dot)sharma(at)orkash(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Florian Pflug 2011-07-11 14:12:17 Re: [HACKERS] Creating temp tables inside read only transactions
Previous Message Florian Pflug 2011-07-11 13:17:10 Re: [HACKERS] Creating temp tables inside read only transactions