File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
/*-------------------------------------------------------------------------
2
2
*
3
3
* jsquery.h
4
- * Definitions of jsquery datatype
4
+ * Definitions of jsquery datatype
5
5
*
6
6
* Copyright (c) 2014, PostgreSQL Global Development Group
7
7
* Author: Teodor Sigaev <teodor@sigaev.ru>
8
8
*
9
9
* IDENTIFICATION
10
- * contrib/jsquery/jsquery.h
10
+ * contrib/jsquery/jsquery.h
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -130,7 +130,7 @@ typedef struct JsQueryParseItem JsQueryParseItem;
130
130
131
131
struct JsQueryParseItem {
132
132
JsQueryItemType type ;
133
- JsQueryHint hint ;
133
+ JsQueryHint hint ;
134
134
JsQueryParseItem * next ; /* next in path */
135
135
136
136
union {
@@ -145,8 +145,8 @@ struct JsQueryParseItem {
145
145
Numeric numeric ;
146
146
bool boolean ;
147
147
struct {
148
- uint32 len ;
149
- char * val ; /* could not be not null-terminated */
148
+ uint32 len ;
149
+ char * val ; /* could not be not null-terminated */
150
150
} string ;
151
151
152
152
struct {
@@ -162,10 +162,10 @@ extern JsQueryParseItem* parsejsquery(const char *str, int len);
162
162
163
163
typedef enum
164
164
{
165
- iAny = jqiAny ,
166
- iAnyArray = jqiAnyArray ,
167
- iKey = jqiKey ,
168
- iAnyKey = jqiAnyKey
165
+ iAny = jqiAny ,
166
+ iAnyArray = jqiAnyArray ,
167
+ iKey = jqiKey ,
168
+ iAnyKey = jqiAnyKey
169
169
} PathItemType ;
170
170
171
171
typedef struct PathItem PathItem ;
@@ -201,7 +201,7 @@ typedef struct ExtractedNode ExtractedNode;
201
201
struct ExtractedNode
202
202
{
203
203
ExtractedNodeType type ;
204
- JsQueryHint hint ;
204
+ JsQueryHint hint ;
205
205
PathItem * path ;
206
206
bool indirect ;
207
207
SelectivityClass sClass ;
You can’t perform that action at this time.
0 commit comments