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

Commitc758a97

Browse files
author
Alexander Korotkov
committed
Check for PostgreSQL version.
1 parentf524786 commitc758a97

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎pg_wait_sampling.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212

1313
#include<postgres.h>
1414

15+
/* Check PostgreSQL version */
16+
#ifPG_VERSION_NUM<90600
17+
#error "You are trying to build pg_wait_sampling with PostgreSQL version lower than 9.6. Please, check you environment."
18+
#endif
19+
1520
#include"storage/proc.h"
1621
#include"storage/shm_mq.h"
1722
#include"utils/timestamp.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp