Re: BUG #7653: Minor problem with join condition

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7653: Minor problem with join condition
Дата
Msg-id 13179.1352730603@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #7653: Minor problem with join condition  (stefano@sportilia.com)
Список pgsql-bugs
stefano@sportilia.com writes:
> Don't know if this is a bug or a correct behaviour, but in a query like
> this:

> SELECT t1.* FROM
> table1 t1 JOIN
> table2 t2 ON t1.id = t2.t1id JOIN
> table3 t3 ON t1.id = t2.t1id

> The parser should return an error because we are joining a table without
> using any of its column.

There is no such restriction in the SQL standard.

            regards, tom lane

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

Предыдущее
От: stefano@sportilia.com
Дата:
Сообщение: BUG #7653: Minor problem with join condition
Следующее
От: Niels Kristian Schjødt
Дата:
Сообщение: Bug in postgres 9.2 installation: pg_archivecleanup: command not found