Skip to content

Commit d856785

Browse files
author
Nikita Glukhov
committed
Fix v10 build
1 parent 29db972 commit d856785

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

jsonb_gin_ops.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424

2525
#include "jsquery.h"
2626

27+
#ifdef PG_GETARG_JSONB_P
28+
#define PG_GETARG_JSONB PG_GETARG_JSONB_P
29+
#endif
30+
2731
typedef struct PathHashStack
2832
{
2933
uint32 hash;

jsquery_op.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929

3030
#include "jsquery.h"
3131

32+
#ifdef PG_GETARG_JSONB_P
33+
#define PG_GETARG_JSONB PG_GETARG_JSONB_P
34+
#endif
35+
3236
typedef struct ResultAccum {
3337
StringInfo buf;
3438
bool missAppend;

0 commit comments

Comments
 (0)