Re: Use a view as opposed to a table and it doesn't work!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gavin(at)consultant(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Use a view as opposed to a table and it doesn't work!
Date: 2000-11-21 18:05:53
Message-ID: 2296.974829953@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message aixit 2000-11-22 16:10:59 error weil dumping
Previous Message pgsql-bugs 2000-11-21 17:11:53 Use a view as opposed to a table and it doesn't work!