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