Re: Bug #427: joining views

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: bezak(at)isdd(dot)sk, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #427: joining views
Date: 2001-08-24 13:37:59
Message-ID: 2941.998660279@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2001-08-24 14:55:17 Re: timestamps cannot be created without time zones
Previous Message Peter Eisentraut 2001-08-24 10:38:09 Re: Bug #427: joining views