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/commands | |
| 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 <tgl@sss.pgh.pa.us>
Discussion: http://postgr.es/m/CA+TgmoYtaad3i21V0jqua-fbr+CR0ix6uBvEX8_s6BG96abd=g@mail.gmail.com
Diffstat (limited to 'src/backend/commands')
| -rw-r--r-- | src/backend/commands/explain_dr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/commands/explain_dr.c b/src/backend/commands/explain_dr.c index a0a37ea70f4..fb42bee6e72 100644 --- a/src/backend/commands/explain_dr.c +++ b/src/backend/commands/explain_dr.c @@ -13,6 +13,7 @@ */ #include "postgres.h" +#include "commands/explain.h" #include "commands/explain_dr.h" #include "libpq/pqformat.h" #include "libpq/protocol.h" |
