Skip site navigation (1) Skip section navigation (2)

printing the query plan?

From: dakotali kasap <dakotalidavid(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: printing the query plan?
Date: 2006-10-27 08:58:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

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 :


However, it did not work. What I want to ask is:

1. Does postgresql call ExecutorStart()-ExecutorRun-ExecutorEnd functions each time a new query is invoked? If so, why the above line did not work?

2. Can I print just a dummy string inside ExecutorStart() function and will it be shown before the result of the query? Because I also tried this and it also did not work.

Thanks  a lot.



pgsql-hackers by date

Next:From: Simon RiggsDate: 2006-10-27 09:11:08
Subject: Re: New CRC algorithm: Slicing by 8
Previous:From: Andrew DunstanDate: 2006-10-27 08:54:31
Subject: Re: Deadlock with pg_dump?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group