Views on UNIONs

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Views on UNIONs
Дата
Msg-id 199801092133.QAA21411@candle.pha.pa.us
обсуждение исходный текст
Список pgsql-hackers
While you can do a UNION of views, you can not do a VIEW of UNIONs.

This is OK:

    select * from view1 UNION select * from view2;

This is not OK:

    create view testv as select * from test1 UNION select * from test2;

Does the standard allow this?  Thomas?  I currently print a 'not
implemented' message.

Informix does not allow it, and I can't figure out how to do it with the
re-write system yet.


--
Bruce Momjian
maillist@candle.pha.pa.us

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] column labels now with obligatory 'as'
Следующее
От: Peter T Mount
Дата:
Сообщение: Re: [HACKERS] grant broken