[HACKERS] printing the query plan?

2006-10-27 Thread dakotali kasap
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);However, it did not work. What I want to ask is:1. Does

Re: [HACKERS] printing the query plan?

2006-10-27 Thread Martijn van Oosterhout
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 :

Re: [HACKERS] printing the query plan?

2006-10-27 Thread dakotali kasap
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

Re: [HACKERS] printing the query plan?

2006-10-27 Thread Gurjeet Singh
Try your logfile... the one specified by the '-l' option while starting the server.On 10/27/06, dakotali kasap [EMAIL PROTECTED] wrote: But how can I find where stout is redirected to? Baran -- [EMAIL PROTECTED][EMAIL PROTECTED] gmail | hotmail | yahoo }.com