Re: Union View Optimization - Mailing list pgsql-general

From Tom Lane
Subject Re: Union View Optimization
Date
Msg-id 22942.1004640305@sss.pgh.pa.us
Whole thread Raw
In response to Union View Optimization  ("Cyril VELTER" <cyril.velter@libertysurf.fr>)
List pgsql-general
"Cyril VELTER" <cyril.velter@libertysurf.fr> writes:
>     Is there a way for the optimizer to move the view "where" clause in the
> elementary union queries in order to use an index scan instead of the Seq
> scan ?

This is on the "to look at" list.  It's not immediately clear to me
whether there are any restrictions on when the system can safely make
such a transformation, nor whether there are cases where it would be
a pessimization rather than an optimization.

            regards, tom lane

pgsql-general by date:

Previous
From: elwood@agouros.de (Konstantinos Agouros)
Date:
Subject: 7.1.3 on same machine with Solaris 2.6 vs Sol7
Next
From: Bruce Momjian
Date:
Subject: Sorry for blocking email