Skip to content

Commit 69bd1a9

Browse files
author
Sofia Kopikova
committed
Change includes due to moving file_is_in_cfs_tablespace function
1 parent 2f15771 commit 69bd1a9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

ptrack.c

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,17 @@
3434
#endif
3535
#include "catalog/pg_tablespace.h"
3636
#include "catalog/pg_type.h"
37+
#ifdef PGPRO_EE
38+
/* For file_is_in_cfs_tablespace() only. */
39+
#if PG_VERSION_NUM >= 140000
40+
#include "common/cfs_common.h"
41+
#else
42+
#include "common/controldata_utils.h"
43+
#endif /* PG_VERSION_NUM */
44+
#endif /* PGPRO_EE */
3745
#include "funcapi.h"
3846
#include "miscadmin.h"
3947
#include "nodes/pg_list.h"
40-
#ifdef PGPRO_EE
41-
/* For file_is_in_cfs_tablespace() only. */
42-
#include "replication/basebackup.h"
43-
#endif
4448
#include "storage/copydir.h"
4549
#include "storage/lmgr.h"
4650
#if PG_VERSION_NUM >= 120000

0 commit comments

Comments
 (0)