From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | dakotali kasap <dakotalidavid(at)yahoo(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: printing the query plan? |
Date: | 2006-10-27 09:13:04 |
Message-ID: | 20061027091304.GB570@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Oct 27, 2006 at 01:58:21AM -0700, dakotali kasap wrote:
> Hi,
>
> I want to print the query-plan that will be used before the execution
> of the query. Therefore put this line at the beginning of the
> ExecutorStart() function located in execMain.c :
>
> print_plan(queryDesc->plantree,queryDesc->parsetree);
print_plan writes to stdout, did you check where that is redirected to?
Also, I thought there was a logging option to print plans, but I might
be wrong about that.
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-10-27 09:17:38 | Re: New CRC algorithm: Slicing by 8 |
Previous Message | Simon Riggs | 2006-10-27 09:11:08 | Re: New CRC algorithm: Slicing by 8 |