Re: To use a VIEW or not to use a View.....

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: To use a VIEW or not to use a View.....
Дата
Msg-id 20030122080733.Y96911-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на To use a VIEW or not to use a View.....  ("Ries van Twisk" <ries@jongert.nl>)
Список pgsql-sql
On Wed, 22 Jan 2003, Ries van Twisk wrote:

> Dear PostgreSQL users,
>
> I have a view and a table,
>
> I understand that when a frontend accesses a VIEW that PostgreSQL cannot use
> a index on that view.
> For example when I do this: SELECT * FROM full_cablelist WHERE
> projectocode=5; Correct?

In general, no.  There are some exceptions, for example views using
EXCEPT I believe will not push conditions down.  In 7.2.x, views using
any of the set ops (INTERSECT, UNION, EXCEPT) wouldn't push conditions
down.  There are a few other such conditions, but for your view, I think
this isn't going to be an issue.




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

Предыдущее
От: Tomasz Myrta
Дата:
Сообщение: Re: To use a VIEW or not to use a View.....
Следующее
От: Tomasz Myrta
Дата:
Сообщение: Re: To use a VIEW or not to use a View.....