PG-1907 Fix explain imports for PG18

explain.h header file was splitted in PostgreSQL 18, so import required
headers for that version.
pull/571/head
Artem Gavrilov 2025-09-05 16:49:52 +02:00 committed by Artem Gavrilov
parent d74e927adb
commit 182bf40c34
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@
#include "utils/guc.h"
#include "pgstat.h"
#include "commands/dbcommands.h"
#if PG_VERSION_NUM >= 180000
#include "commands/explain_state.h"
#include "commands/explain_format.h"
#endif
#include "commands/explain.h"
#include "pg_stat_monitor.h"