From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Broersma <richard.broersma@gmail.com>
Cc: sql pgsql <pgsql-sql@postgresql.org>
Subject: Re: Learning about WITH RECURSIVE
Date: Wed, 04 Nov 2009 17:11:04 -0500
Message-ID: <27333.1257372664@sss.pgh.pa.us> (raw)
In-Reply-To: <396486430911041403u639c750bn488ada60822448c0@mail.gmail.com>
References: <396486430911041403u639c750bn488ada60822448c0@mail.gmail.com>
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 ...
regards, tom lane
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: tgl@sss.pgh.pa.us, richard.broersma@gmail.com
Subject: Re: Learning about WITH RECURSIVE
In-Reply-To: <27333.1257372664@sss.pgh.pa.us>
* 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