Re: postgres 9 query performance - Mailing list pgsql-performance

From Andres Freund
Subject Re: postgres 9 query performance
Date
Msg-id 201101302335.03863.andres@anarazel.de
Whole thread Raw
In response to Re: postgres 9 query performance  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On Sunday 30 January 2011 23:18:15 Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > What happens if you change the
> >
> >     left join event.origin on event.id = origin.eventid
> >
> > into
> >
> >     join event.origin on event.id = origin.eventid
> >
> > ?
> >
> > The EXISTS() requires that origin is not null anyway. (Not sure why the
> > planner doesn't recognize that though).
>
> Sloppy thinking in reduce_outer_joins() is why.
Wow. Nice one, thanks.

Andres

pgsql-performance by date:

Previous
From: Marcin Mirosław
Date:
Subject: Re: Any experience using "shake" defragmenter?
Next
From: Mladen Gogala
Date:
Subject: Re: Any experience using "shake" defragmenter?