From: | Moshe Jacobson <moshe(at)neadwerx(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Postgres-Bugs <pgsql-bugs(at)postgresql(dot)org>, Robert Mowlavi <robert(at)neadwerx(dot)com>, Chris Autry <chris(at)neadwerx(dot)com> |
Subject: | Re: LEFT JOINs not optimized away when not needed |
Date: | 2014-07-09 17:37:25 |
Message-ID: | CAJ4CxLn7QHOHVYeHWntEn-J4FS_gCT-m39jNzokbdYAZbkVoOg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
On Wed, Jul 9, 2014 at 1:33 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Right. Yeah, I was not that excited about its usefulness either.
> However, the OP seems to think that it's a common optimization
> (I wonder if he can cite chapter and verse on which other DBMSes
> do it).
>
I make no claim about its commonness, but I think this type of optimization
is very useful when selecting a limited subset of the columns from a
complex view, particularly where the output rows are expected to be
distinct on the exact set of columns that are selected.
Moshe Jacobson
Manager of Systems Engineering, Nead Werx Inc. <http://www.neadwerx.com>
2323 Cumberland Parkway · Suite 201 · Atlanta, GA 30339
"Quality is not an act, it is a habit." -- Aristotle
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2014-07-10 02:35:04 | Re: BUG #10638: PL/Perl on Windows: need for perl514.dll |
Previous Message | Tom Lane | 2014-07-09 17:33:02 | Re: LEFT JOINs not optimized away when not needed |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2014-07-09 17:37:57 | Re: pg_resetxlog to clear backup start/end locations. |
Previous Message | Tom Lane | 2014-07-09 17:33:02 | Re: LEFT JOINs not optimized away when not needed |