Re: Bug #427: joining views

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug #427: joining views
Дата
Msg-id 2941.998660279@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug #427: joining views  (pgsql-bugs@postgresql.org)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Bug #427: joining views
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: timestamps cannot be created without time zones