From: Richard Broersma <richard.broersma@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: sql pgsql <pgsql-sql@postgresql.org>
Subject: Re: Learning about WITH RECURSIVE
Date: Wed, 4 Nov 2009 14:17:00 -0800
Message-ID: <396486430911041417o40cf1939k6ff703ca704a3e14@mail.gmail.com> (raw)
In-Reply-To: <27333.1257372664@sss.pgh.pa.us>
References: <396486430911041403u639c750bn488ada60822448c0@mail.gmail.com>
<27333.1257372664@sss.pgh.pa.us>
On Wed, Nov 4, 2009 at 2:11 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Richard Broersma <richard.broersma@gmail.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: richard.broersma@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: Learning about WITH RECURSIVE
In-Reply-To: <396486430911041417o40cf1939k6ff703ca704a3e14@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox