diff options
| author | Robert Haas | 2025-02-28 18:17:29 +0000 |
|---|---|---|
| committer | Robert Haas | 2025-02-28 18:17:29 +0000 |
| commit | 77cb08be510623421fc727f35980de5107eea735 (patch) | |
| tree | 385d6bcd72c1a82713bdc51e68f456189d7aadbf /src/backend/tcop | |
| parent | 51d3e279c3e1f6548794d5e7b5206ad1e080568f (diff) | |
Avoid including explain.h in explain_format.h and explain_dr.h
As per a suggestion from Tom Lane, we do this by declaring "struct
ExplainState" here and refer to that rather than "ExplainState".
Also per Tom, CreateExplainSerializeDestReceiver was still defined
in explain.h in addition to explain_dr.h. Remove leftover prototype.
Reviewed-by: Tom Lane <[email protected]>
Discussion: http://postgr.es/m/CA+TgmoYtaad3i21V0jqua-fbr+CR0ix6uBvEX8_s6BG96abd=g@mail.gmail.com
Diffstat (limited to 'src/backend/tcop')
| -rw-r--r-- | src/backend/tcop/dest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/dest.c b/src/backend/tcop/dest.c index b44f9072280..b620766c938 100644 --- a/src/backend/tcop/dest.c +++ b/src/backend/tcop/dest.c @@ -33,7 +33,7 @@ #include "access/xact.h" #include "commands/copy.h" #include "commands/createas.h" -#include "commands/explain.h" +#include "commands/explain_dr.h" #include "commands/matview.h" #include "executor/functions.h" #include "executor/tqueue.h" |
