Re: Use a view as opposed to a table and it doesn't work! - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Use a view as opposed to a table and it doesn't work!
Date
Msg-id 2296.974829953@sss.pgh.pa.us
Whole thread Raw
In response to Use a view as opposed to a table and it doesn't work!  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> Use a view as opposed to a table and it doesn't work!

This is a longstanding limitation in Postgres views.  You can't do
multiple levels of aggregation in a single query, and a view does
not get you past that.

It's fixed for 7.1, however.  In current sources I get the expected
answer.

            regards, tom lane

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Use a view as opposed to a table and it doesn't work!
Next
From: Theo Kramer
Date:
Subject: update on unique constraint