|
1 | 1 | /*------------------------------------------------------------------------- |
2 | 2 | * |
3 | 3 | * jsquery_extract.c |
4 | | - * Functions and operations to support jsquery in indexes |
| 4 | + * Functions and operations to support jsquery in indexes |
5 | 5 | * |
6 | 6 | * Copyright (c) 2014, PostgreSQL Global Development Group |
7 | 7 | * Author: Alexander Korotkov <[email protected]> |
8 | 8 | * |
9 | 9 | * IDENTIFICATION |
10 | | - * contrib/jsquery/jsquery_extract.c |
| 10 | + * contrib/jsquery/jsquery_extract.c |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
@@ -43,10 +43,10 @@ static void debugRecursive(StringInfo buf, ExtractedNode *node, int shift); |
43 | 43 | static ExtractedNode * |
44 | 44 | recursiveExtract(JsQueryItem *jsq, bool not, bool indirect, PathItem *path) |
45 | 45 | { |
46 | | - ExtractedNode *leftNode, *rightNode, *result; |
47 | | - PathItem *pathItem; |
48 | | - ExtractedNodeType type; |
49 | | - JsQueryItem elem, e; |
| 46 | + ExtractedNode *leftNode, *rightNode, *result; |
| 47 | + PathItem *pathItem; |
| 48 | + ExtractedNodeType type; |
| 49 | + JsQueryItem elem, e; |
50 | 50 |
|
51 | 51 | check_stack_depth(); |
52 | 52 |
|
@@ -453,11 +453,11 @@ compareJsQueryItem(JsQueryItem *v1, JsQueryItem *v2) |
453 | 453 | static void |
454 | 454 | processGroup(ExtractedNode *node, int start, int end) |
455 | 455 | { |
456 | | - int i; |
| 456 | + int i; |
457 | 457 | JsQueryItem *leftBound = NULL, |
458 | 458 | *rightBound = NULL, |
459 | 459 | *exactValue = NULL; |
460 | | - bool leftInclusive = false, |
| 460 | + bool leftInclusive = false, |
461 | 461 | rightInclusive = false, |
462 | 462 | first = true; |
463 | 463 | ExtractedNode *child; |
@@ -575,8 +575,8 @@ simplifyRecursive(ExtractedNode *node) |
575 | 575 | { |
576 | 576 | if (node->type == eAnd) |
577 | 577 | { |
578 | | - int i, groupStart = -1; |
579 | | - ExtractedNode *child, *prevChild = NULL; |
| 578 | + int i, groupStart = -1; |
| 579 | + ExtractedNode *child, *prevChild = NULL; |
580 | 580 |
|
581 | 581 | for (i = 0; i < node->args.count; i++) |
582 | 582 | node->args.items[i]->number = i; |
@@ -764,7 +764,7 @@ ExtractedNode * |
764 | 764 | extractJsQuery(JsQuery *jq, MakeEntryHandler makeHandler, |
765 | 765 | CheckEntryHandler checkHandler, Pointer extra) |
766 | 766 | { |
767 | | - ExtractedNode *root; |
| 767 | + ExtractedNode *root; |
768 | 768 | JsQueryItem jsq; |
769 | 769 |
|
770 | 770 | jsqInit(&jsq, jq); |
|
0 commit comments