Re: Please help me regarding the WITH RECURSIVE query

From: BladeOfLight16 <bladeoflight16(at)gmail(dot)com>
To: gajendra s v <svgajendra(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Please help me regarding the WITH RECURSIVE query
Date: 2013-08-27 01:31:40
Message-ID: CA+=1U=UVYz_euw7w5X9r-VoZLdGHbpgY3khMxj=6ZCYrSvgSSQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 26, 2013 at 3:17 AM, gajendra s v <svgajendra(at)gmail(dot)com> wrote:

> Please explain me why it is ?
>

A good place to start would be removing all the parts here that don't seem
to matter. Your problem seems to be with the recursive query (since that is
the part you're changing). Cut off everything else and compare the results
of the recursive queries, and if you still can't figure it out, come back
here with your findings (and the isolated recursive queries). You'll be
much more likely to get responses if you narrow down the problem you're
having instead of asking people on this list to do it.

You might find this a good read: http://sscce.org/. And it wouldn't hurt if
you could create a SQL Fiddle <http://sqlfiddle.com/> that demonstrates
your problem; the simpler and more trimmed down the better.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2013-08-27 01:58:37 Re: Replication Postgre > Oracle
Previous Message David Johnston 2013-08-27 01:15:26 Re: how to use aggregate functions in this case