Re: When you really want to force a certain join type? - Mailing list pgsql-performance

From Tom Lane
Subject Re: When you really want to force a certain join type?
Date
Msg-id 492412.1672300330@sss.pgh.pa.us
Whole thread Raw
In response to Re: When you really want to force a certain join type?  (Gunther Schadow <raj@gusw.net>)
List pgsql-performance
Gunther Schadow <raj@gusw.net> writes:
> Also, why even use the RECURSIVE keyword, DB2 didn't need it, and the 
> query analyzer should immediately see the recursion, so no need to have 
> that keyword.

Our reading of the SQL spec is that it's required.  The scope of
visibility of CTE names is different depending on whether you
write RECURSIVE or not, so it's not a question of "the query analyzer
should see it": the analyzer is required NOT to see it.

DB2 generally has a reputation for agreeing with the spec,
so I'm surprised to hear that they're not doing this per spec.

            regards, tom lane



pgsql-performance by date:

Previous
From: Gunther Schadow
Date:
Subject: Re: When you really want to force a certain join type?
Next
From: Maxim Boguk
Date:
Subject: How to analyze of short but heavy intermittent slowdown on BIND on production database (or BIND vs log_lock_waits)