mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
PG-1907 Fix explain imports for PG18
explain.h header file was splitted in PostgreSQL 18, so import required headers for that version.
This commit is contained in:
committed by
Artem Gavrilov
parent
d74e927adb
commit
182bf40c34
@@ -21,6 +21,12 @@
|
|||||||
#include "utils/guc.h"
|
#include "utils/guc.h"
|
||||||
#include "pgstat.h"
|
#include "pgstat.h"
|
||||||
#include "commands/dbcommands.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 "commands/explain.h"
|
||||||
#include "pg_stat_monitor.h"
|
#include "pg_stat_monitor.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user