Re: compile error with -DOPTIMIZER_DEBUG

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: compile error with -DOPTIMIZER_DEBUG
Дата
Msg-id 200911291133.nATBXn627165@momjian.us
обсуждение исходный текст
Ответ на Re: compile error with -DOPTIMIZER_DEBUG  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: compile error with -DOPTIMIZER_DEBUG
Список pgsql-hackers
Tom Lane wrote:
> Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> > Jan Urbański wrote:
> >> ISTM that there's a superfluous curly brace in print_path (which only
> >> gets compiled with -DOPTIMIZER_DEBUG.
> 
> > Thanks, committed.
> 
> You know, the last couple of times I've touched that code, I've been
> wondering why we bother to maintain it.  Personally I always use pprint()
> when I'm interested in a printout of a plan tree.  Is anyone actually
> using the printout code in allpaths.c?

I thought OPTIMIZER_DEBUG showed us all the possible paths, not just the
final plan.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: Timezones (in 8.5?)
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: LDAP where DN does not include UID attribute