Skip to content

Commit 9ed72c2

Browse files
jrgemignaniMuhammadTahaNaveed
authored andcommitted
Add PostgreSQL String definition for compatability
Added the definition for String for compatability with PRs from later versions of PostgreSQL (pg15 and onward). modified: src/include/nodes/cypher_nodes.h
1 parent cc6eaad commit 9ed72c2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/include/nodes/cypher_nodes.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@
2222

2323
#include "nodes/ag_nodes.h"
2424

25+
/*
26+
* Added the following String definition from PostgreSQL's value.h to
27+
* allow for compatability with PRs from later versions (PG15 and onward).
28+
*/
29+
typedef struct String
30+
{
31+
32+
NodeTag type;
33+
char *sval;
34+
} String;
35+
2536
/* cypher sub patterns/queries */
2637
typedef enum csp_kind
2738
{

0 commit comments

Comments
 (0)