Skip to content

Commit 2eca4ee

Browse files
committed
compatibility with 9.5
1 parent a88c1db commit 2eca4ee

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

jsquery_op.c

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy