Re: Views and Limits

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex <alex(at)meerkatsoft(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Views and Limits
Date: 2003-09-09 06:23:09
Message-ID: 26956.1063088589@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex <alex(at)meerkatsoft(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ian Barwick 2003-09-09 06:53:50 Re: mysql create table -> psql
Previous Message expect 2003-09-09 06:10:52 mysql create table -> psql