Question about ExplainOneQuery_hook - Mailing list pgsql-hackers

From Zhihong Yu
Subject Question about ExplainOneQuery_hook
Date
Msg-id CALNJ-vTuYbWWTudMi4x55YLwJBBwxHuYhJFJoVQ+z0Fi0pGxGg@mail.gmail.com
Whole thread Raw
Responses Re: Question about ExplainOneQuery_hook
List 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

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Transparent column encryption
Next
From: Tom Lane
Date:
Subject: Re: Expand palloc/pg_malloc API