Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Temporarily (I hope) disable flattening of IN/EXISTS sublinks

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Temporarily (I hope) disable flattening of IN/EXISTS sublinks
Date: 2009-03-28 02:07:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committerspgsql-hackers
Tom, you mentioned this should be a TODO item.  Do we put it on our main
TODO, and if so, in what section?


Tom Lane wrote:
> Log Message:
> -----------
> Temporarily (I hope) disable flattening of IN/EXISTS sublinks that are within
> the ON clause of an outer join.  Doing so is semantically correct but results
> in de-optimizing queries that were structured to take advantage of the sublink
> style of execution, as seen in recent complaint from Kevin Grittner.  Since
> the user can get the other behavior by reorganizing his query, having the
> flattening happen automatically is just a convenience, and that doesn't
> justify breaking existing applications.  Eventually it would be nice to
> re-enable this, but that seems to require a significantly different approach
> to outer joins in the executor.
> Modified Files:
> --------------
>     pgsql/src/backend/optimizer/prep:
>         prepjointree.c (r1.63 -> r1.64)
>         (
> -- 
> Sent via pgsql-committers mailing list (pgsql-committers(at)postgresql(dot)org)
> To make changes to your subscription:

  Bruce Momjian  <bruce(at)momjian(dot)us>

  + If your life is a hard drive, Christ can be your backup. +

In response to


pgsql-hackers by date

Next:From: Andrew ChernowDate: 2009-03-28 02:55:17
Subject: Re: PQinitSSL broken in some use casesf
Previous:From: Bruce MomjianDate: 2009-03-28 02:00:59
Subject: Re: parallel restore

pgsql-committers by date

Next:From: Bruce MomjianDate: 2009-03-28 03:26:02
Subject: pgsql: Better document that SET ROLE does not uset ALTER ROLE SET
Previous:From: User BmomjianDate: 2009-03-28 01:54:24
Subject: pg-migrator - src: Remove restore of oid counter because it might

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group