Re: printing the query plan? - Mailing list pgsql-hackers

From dakotali kasap
Subject Re: printing the query plan?
Date
Msg-id 20061027095757.91218.qmail@web31305.mail.mud.yahoo.com
Whole thread Raw
In response to printing the query plan?  (dakotali kasap <dakotalidavid@yahoo.com>)
Responses Re: printing the query plan?  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
List pgsql-hackers
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?


    But how can I find where stout is redirected to?

Baran


pgsql-hackers by date:

Previous
From: "Gurjeet Singh"
Date:
Subject: Re: bug in on_error_rollback !?
Next
From: "Gurjeet Singh"
Date:
Subject: Re: printing the query plan?