Re: Learning about WITH RECURSIVE

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: sql pgsql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Learning about WITH RECURSIVE
Date: 2009-11-04 22:17:00
Message-ID: 396486430911041417o40cf1939k6ff703ca704a3e14@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, Nov 4, 2009 at 2:11 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Richard Broersma <richard(dot)broersma(at)gmail(dot)com> writes:
>> Can anyone one explain why a "WITH RECURSIVE" query has the same
>> results regardless whether UNION or UNION ALL is specified?
>
> Well, if the rows are all different anyway, UNION isn't going to
> eliminate any ...

Okay thanks. I see that I need to spend more time with the on-line docs.

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Broersma 2009-11-04 22:27:14 Re: Learning about WITH RECURSIVE
Previous Message Tom Lane 2009-11-04 22:11:04 Re: Learning about WITH RECURSIVE