Re: question about executor hooks

2025-01-14 Thread Sami Imseih
I recommend you to review the documentation in backend/executor/README. It explains in good detail how the executor works. Specifically the section "Query Processing Control Flow" explains what each of the hooks you reference are responsible for. Also, be aware that there are operations, called uti

Re: question about executor hooks

2025-01-14 Thread jian he
On Tue, Jan 14, 2025 at 5:08 PM Luca Ferrari wrote: > > In the file backend/executor/execMain.c there are the following hook types: > > /* Hooks for plugins to get control in ExecutorStart/Run/Finish/End */ > ExecutorStart_hook_type ExecutorStart_hook = NULL; > ExecutorRun_hook_type ExecutorRun_ho