Re: Where can I get the number of plans that considered by Planner?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: 纪晓曦 <sheepjxx(at)gmail(dot)com>
Cc: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Where can I get the number of plans that considered by Planner?
Date: 2009-09-30 13:55:55
Message-ID: 14006.1254318955@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-09-30 14:17:18 Re: Updating row with updating function, bug or feature?
Previous Message Thomas Jacob 2009-09-30 13:30:15 Updating row with updating function, bug or feature?