Skip to content

Navigation Menu

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

Appearance settings

Commit 2eca4ee

Browse filesBrowse files
committed
compatibility with 9.5
1 parent a88c1db commit 2eca4ee
Copy full SHA for 2eca4ee

File tree

1 file changed

+8
-0
lines changed
Filter options

1 file changed

+8
-0
lines changed

‎jsquery_op.c

Copy file name to clipboardExpand all lines: jsquery_op.c
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,15 @@
1616

1717
#include "miscadmin.h"
1818
#include "utils/builtins.h"
19+
#if PG_VERSION_NUM >= 90500
20+
#include "common/pg_crc.h"
21+
#define COMP_CRC32 COMP_CRC32C
22+
#define INIT_CRC32 INIT_CRC32C
23+
#define FIN_CRC32 FIN_CRC32C
24+
#define INIT_CRC32 INIT_CRC32C
25+
#else
1926
#include "utils/pg_crc.h"
27+
#endif
2028

2129
#include "jsquery.h"
2230

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.