Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1b883a8

Browse files
committed
fix compilation errors and warnings on 9.5
1 parent 0074a3a commit 1b883a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ref_integrity.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
#include "catalog/indexing.h"
2020
#include "catalog/pg_am.h"
2121
#include "catalog/pg_constraint.h"
22+
#if PG_VERSION_NUM >= 90600
23+
/* Constraint function were moved to pg_constraint_fn.h in version 9.6 */
2224
#include "catalog/pg_constraint_fn.h"
25+
#endif
2326
#include "catalog/pg_type.h"
2427
#include "catalog/pg_opclass.h"
2528
#include "catalog/pg_operator.h"
@@ -35,6 +38,7 @@
3538
#include "utils/inval.h"
3639
#include "utils/lsyscache.h"
3740
#include "utils/tqual.h"
41+
#include "utils/snapmgr.h"
3842
#include "utils/syscache.h"
3943
#include "utils/memutils.h"
4044

0 commit comments

Comments
 (0)