Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb111fd2

Browse files
committed
Fix includes for different versions of postgres
1 parentbf93b99 commitb111fd2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎src/partition_creation.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include"pathman.h"
1515
#include"pathman_workers.h"
1616
#include"xact_handling.h"
17+
#include"compat/pg_compat.h"
1718

1819
#include"access/htup_details.h"
1920
#include"access/reloptions.h"

‎src/relation_info.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,13 @@
3535
#include"utils/lsyscache.h"
3636
#include"utils/typcache.h"
3737

38+
#ifPG_VERSION_NUM<90600
39+
#include"optimizer/planmain.h"
40+
#endif
41+
3842
#ifPG_VERSION_NUM >=90600
3943
#include"catalog/pg_constraint_fn.h"
44+
#include"nodes/nodeFuncs.h"
4045
#endif
4146

4247

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp