| От | Sebastian Böck |
|---|---|
| Тема | Re: Bug with view definition? |
| Дата | |
| Msg-id | 42A715AE.60209@freenet.de обсуждение исходный текст |
| Ответ на | Re: Bug with view definition? (Richard Huxton <dev@archonet.com>) |
| Ответы |
Re: Bug with view definition?
|
| Список | pgsql-general |
Richard Huxton wrote: > 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... Sure, but the problem still exists if you want to join with table one and table two. Forgot to say that this also applies for normal selects (of course!). Sebastian
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера