Re: Views and Limits - Mailing list pgsql-general

From Tom Lane
Subject Re: Views and Limits
Date
Msg-id 26956.1063088589@sss.pgh.pa.us
Whole thread Raw
In response to Views and Limits  (Alex <alex@meerkatsoft.com>)
Responses Re: Views and Limits  (Jonathan Bartlett <johnnyb@eskimo.com>)
List 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 by date:

Previous
From: expect
Date:
Subject: mysql create table -> psql
Next
From: Ian Barwick
Date:
Subject: Re: mysql create table -> psql