Re: Bug #427: joining views - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #427: joining views
Date
Msg-id 2941.998660279@sss.pgh.pa.us
Whole thread Raw
In response to Bug #427: joining views  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> Now i will create two views:

> P1V:
> select order_id as id1, count(*) as count1 from order_item where state=1 group by order_id;

> P2V:
> select order_id as id2, count(*) as count2 from order_item where state=2 group by order_id;

Grouped views don't work very well in Postgres versions before 7.1.
Time to update ... 7.1.3 is the current release.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Bug #427: joining views
Next
From: Bruce Momjian
Date:
Subject: Re: timestamps cannot be created without time zones