Re: Possible bug in PostgreSQL query planner

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible bug in PostgreSQL query planner
Дата
Msg-id 23584.1034001756@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Possible bug in PostgreSQL query planner  (Matthew Wakeling <matthew@flymine.org>)
Список pgsql-bugs
Matthew Wakeling <matthew@flymine.org> writes:
> I have encountered what seems to be a bad decision made by the query
> planner, on a quite simple query. I have attached a shell script which
> creates a large (180MB) sql script, to demonstrate the problem.

These queries are forcing the join order; see
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/explicit-joins.html
The second query forces a bad join order.

Whether this is a bug or a feature depends on your perspective; for now,
it's defined to be a feature ...

            regards, tom lane

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

Предыдущее
От: Rudolf Potucek
Дата:
Сообщение: postmaster will not start with stale lockfile but not report why
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postmaster will not start with stale lockfile but not report why