Re: [PATCHES] WITH RECURSIVE updated to CVS TIP - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [PATCHES] WITH RECURSIVE updated to CVS TIP
Date
Msg-id 20080716.093725.41359149.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: [PATCHES] WITH RECURSIVE updated to CVS TIP  (David Fetter <david@fetter.org>)
Responses Re: [PATCHES] WITH RECURSIVE updated to CVS TIP
List pgsql-hackers
> On Tue, Jul 08, 2008 at 06:01:05PM +0900, Tatsuo Ishii wrote:
> > Here is the patches he made against CVS HEAD (as of today).
> >
> > According to him followings are fixed with the patches:
> >
> > - fix crush with DISTINCT
> > - fix creating VIEW
> > - fix the case when recursion plan has another recursion plan under it
> > - fix WITH RECURSIVE ...(..) SELECT ...WHERE.. returns wrong result
> > - fix inifinit recursion with OUTER JOIN
>
> Great!
>
> I've patched psql for some partial support of WITH [RECURSIVE].
>
> http://git.postgresql.org/?p=~davidfetter/postgresql/.git;a=commit;h=da63f9a82b9e902b5542f788b2e6e6bc95221793

Thanks. I will incorporate them with propsed patches.

> > Not yet fixed:
> >
> > - detect certain queries those are not valid acroding to the standard
> > - sort query names acording to the dependency
>
> Is there something in the standard on how to do this?  How to sort the
> nodes other ways?

No idea. What do you think if we allow only one query name at the
moment. I guess most WITH RECURISVE use cases are enough with single
query name.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

pgsql-hackers by date:

Previous
From: "Xiao Meng"
Date:
Subject: gsoc, store hash index tuple with hash code only
Next
From: "David E. Wheeler"
Date:
Subject: Re: PATCH: CITEXT 2.0 v3