Re: Question about the WITH RECURSIVE patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Josh Harrison" <joshques(at)gmail(dot)com>
Cc: "General postgres mailing list" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Question about the WITH RECURSIVE patch
Date: 2008-11-20 21:21:04
Message-ID: 8164.1227216064@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Josh Harrison" <joshques(at)gmail(dot)com> writes:
> My question is when I don't use the Recursive term does the optimizer just
> consider it as a subquery or does it work like Oracle's WITH CLAUSE
> (Subquery Factoring) ? Oracle's WITH CLAUSE boosts the performance of the
> queries. So does this do the same?

See the fine manual, for instance last para here:
http://developer.postgresql.org/pgdocs/postgres/queries-with.html

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christophe 2008-11-20 21:30:01 Re: Question about the WITH RECURSIVE patch
Previous Message Josh Harrison 2008-11-20 21:10:04 Question about the WITH RECURSIVE patch