Re: compile error with -DOPTIMIZER_DEBUG
Alvaro Herrera <alvherre@commandprompt.com>
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Jan Urbański <wulczer@wulczer.org>, Postgres - Hackers <pgsql-hackers@postgresql.org>, Tom Raney <raneyt@cecs.pdx.edu>
Date: 2009-12-02T15:02:17Z
Lists: 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? Maybe Tom Raney's Visual Planner thing? -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support