Since I also need to consider gego, is this the best way to do it?
2009/9/30 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> =?UTF-8?B?57qq5pmT5pum?= <sheepjxx(at)gmail(dot)com> writes:
> > Where can I add a integer counter to count the plans considered by
> planner.
>
> Well, you could count the number of calls to add_path, but a path is
> hardly the same thing as a complete plan.
>
> regards, tom lane
>