Re: Bug with view definition?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Bug with view definition?
Дата
Msg-id 42A7136E.90006@archonet.com
обсуждение исходный текст
Ответ на Bug with view definition?  (Sebastian Böck <sebastianboeck@freenet.de>)
Ответы Re: Bug with view definition?
Список pgsql-general
Sebastian Böck wrote:
> Hello all,
>
> why is the last definition of a view not working, although the
> documentation says all three are equal?
>

>
> CREATE OR REPLACE VIEW not_working AS
>     SELECT one.*
>     FROM one.one, two.two
>     JOIN join1 ON join1.id = one.id;

I think it's trying to join "two" to "join1" - try
   ...FROM two.two, one.one
   JOIN join1...

--
   Richard Huxton
   Archonet Ltd


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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: deadlocks in multiple-triggers environment
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: return two elements