Re: Views and Limits

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Views and Limits
Дата
Msg-id 26956.1063088589@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Views and Limits  (Alex <alex@meerkatsoft.com>)
Ответы Re: Views and Limits
Список pgsql-general
Alex <alex@meerkatsoft.com> writes:
> Is there a way to get change that i.e. that the VIEW places a limit on
> the final result?

How would that possibly make any sense?  A view is supposed to be a
self-contained, logically consistent object ... not something that
exerts magical action-at-a-distance powers upon queries that reference
it.  As an example, would you still expect this restriction to work when
the view was used in a join, SELECT DISTINCT, or aggregate query?  If
so, just what is getting limited?

            regards, tom lane

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

Предыдущее
От: expect
Дата:
Сообщение: mysql create table -> psql
Следующее
От: Ian Barwick
Дата:
Сообщение: Re: mysql create table -> psql