Re: postgres question: Views with duplicate field names

Поиск
Список
Период
Сортировка
От Ryan Murphy
Тема Re: postgres question: Views with duplicate field names
Дата
Msg-id CAHeEsBc7s1nkP+hSCfF6WPJai89aK-bag2vA2=sz6D5=b0NkSw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgres question: Views with duplicate field names  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general



You're confused about the input vs. the output.  The output columns
of a view all have to have distinct names, just like you can't do
"create table foo (f1 int, f1 int)".  They can be reading the same
values, though.

                        regards, tom lane

Ok, that makes sense. Thanks! 

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

Предыдущее
От: Ryan Murphy
Дата:
Сообщение: Re: postgres question: Views with duplicate field names
Следующее
От: Ryan Murphy
Дата:
Сообщение: Re: postgres question: Views with duplicate field names