Question about ExplainOneQuery_hook

From: Zhihong Yu <zyu(at)yugabyte(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Question about ExplainOneQuery_hook
Date: 2022-07-26 21:00:57
Message-ID: CALNJ-vTuYbWWTudMi4x55YLwJBBwxHuYhJFJoVQ+z0Fi0pGxGg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
I was looking at ExplainOneQuery() where ExplainOneQuery_hook is called.

Currently the call to the hook is in if block and normal processing is in
else block.

What if the hook doesn't want to duplicate the whole code printing
execution plan ?

Please advise.

Thanks

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-07-26 21:32:07 Re: Expand palloc/pg_malloc API
Previous Message Robert Haas 2022-07-26 20:25:35 Re: Transparent column encryption