RE: TODO (was: Re: [HACKERS] Problem with parser)

Поиск
Список
Период
Сортировка
От Jackson, DeJuan
Тема RE: TODO (was: Re: [HACKERS] Problem with parser)
Дата
Msg-id F10BB1FAF801D111829B0060971D839F3C2256@cpsmail
обсуждение исходный текст
Ответ на TODO (was: Re: [HACKERS] Problem with parser)  (jwieck@debis.com (Jan Wieck))
Список pgsql-hackers
> > > * Allow views to specify column names outside SELECT statement
> >
> >     ??? what is meant by that?
>
> I have no idea.  I am removing it.  Does anyone else know what it
> means?
>
I think it was the example from ...
Well, the syntax was
 CREATE VIEW my_view(column1, column2, column3) AS
 SELECT t1 * m2, c2, j FROM my_table1
 UNION ALL
 SELECT m2, c3, n FROM my_table2;
instead of:
 CREATE VIEW my_view AS
 SELECT t1 * m2 AS column1, c2 AS column2, j AS column3 FROM my_table1
 UNION ALL
 SELECT m2, c3, n FROM my_table2;

Hope this helps,
    -DEJ

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

Предыдущее
От: Edmund Mergl
Дата:
Сообщение: Re: [HACKERS] Segmentation fault with lo_export
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Rules for 6.4 finished