Re: Factoring where clauses through unions

Поиск
Список
Период
Сортировка
От Ed L.
Тема Re: Factoring where clauses through unions
Дата
Msg-id 200304041619.25554.pgsql@bluepolka.net
обсуждение исходный текст
Ответ на Factoring where clauses through unions  (Jonathan Bartlett <johnnyb@eskimo.com>)
Ответы Re: Factoring where clauses through unions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Friday April 4 2003 1:42, Jonathan Bartlett wrote:
> I have a view that is based on several UNION clauses.  I'm wondering, if
> I select data from there, will it UNION first, and then apply my where
> clauses, or can it factor my where clauses through the UNION?  If it
> doesn't do it automatically, is there any way to automate it?

For cases like this, you can usually construct a very simple test to get the
answer.  But let's see your view creation command so we know what you're
talking about.

Ed


В списке pgsql-general по дате отправления:

Предыдущее
От: nolan@celery.tssi.com
Дата:
Сообщение: Re: Getting consecutive sequence values
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Factoring where clauses through unions