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

Commit e86abbb

Browse files
author
Alexander Korotkov
committed
Check PostgreSQL version during build.
1 parent 5f40cb2 commit e86abbb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pathman.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#include "storage/dsm.h"
1010
#include "storage/lwlock.h"
1111

12+
/* Check PostgreSQL version */
13+
#if PG_VERSION_NUM < 90500
14+
#error "You are trying to build pg_pathman with PostgreSQL version lower than 9.5. Please, check you environment."
15+
#endif
1216

1317
#define ALL NIL
1418
#define INITIAL_BLOCKS_COUNT 8192

0 commit comments

Comments
 (0)