Skip to content

Commit eafacf0

Browse files
committed
move headers to 'include'
1 parent 9fc267a commit eafacf0

21 files changed

+10
-7
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ OBJS = src/init.o src/relation_info.o src/utils.o src/partition_filter.o \
66
src/runtimeappend.o src/runtime_merge_append.o src/pg_pathman.o src/rangeset.o \
77
src/pl_funcs.o src/pl_range_funcs.o src/pl_hash_funcs.o src/pathman_workers.o \
88
src/hooks.o src/nodes_common.o src/xact_handling.o src/utility_stmt_hooking.o \
9-
src/planner_tree_modification.o src/debug_print.o src/pg_compat.o \
10-
src/partition_creation.o $(WIN32RES)
9+
src/planner_tree_modification.o src/debug_print.o src/partition_creation.o \
10+
src/compat/pg_compat.o $(WIN32RES)
11+
12+
PG_CPPFLAGS = -I$(CURDIR)/src/include
1113

1214
EXTENSION = pg_pathman
1315

src/pg_compat.c renamed to src/compat/pg_compat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* ------------------------------------------------------------------------
1212
*/
1313

14-
#include "pg_compat.h"
14+
#include "compat/pg_compat.h"
1515

1616
#include "catalog/pg_proc.h"
1717
#include "foreign/fdwapi.h"

src/hooks.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
* ------------------------------------------------------------------------
99
*/
1010

11-
#include "utility_stmt_hooking.h"
11+
#include "compat/pg_compat.h"
12+
1213
#include "hooks.h"
1314
#include "init.h"
1415
#include "partition_filter.h"
15-
#include "pg_compat.h"
1616
#include "planner_tree_modification.h"
1717
#include "runtimeappend.h"
1818
#include "runtime_merge_append.h"
19+
#include "utility_stmt_hooking.h"
1920
#include "utils.h"
2021
#include "xact_handling.h"
2122

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/pg_pathman.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* ------------------------------------------------------------------------
1010
*/
1111

12-
#include "pg_compat.h"
12+
#include "compat/pg_compat.h"
1313

1414
#include "init.h"
1515
#include "hooks.h"

src/runtime_merge_append.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* ------------------------------------------------------------------------
1111
*/
1212

13-
#include "pg_compat.h"
13+
#include "compat/pg_compat.h"
1414

1515
#include "runtime_merge_append.h"
1616
#include "pathman.h"

0 commit comments

Comments
 (0)