aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/jsonpath_scanner.h
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2019-03-19 20:56:13 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2019-03-19 21:01:10 +0300
commit5e28b778bf9a5835e702277119c5f92b4dbab45e (patch)
treec86dfc2170edfbd513b0f10084203a75f66dec12 /src/include/utils/jsonpath_scanner.h
parent1009920aaa39e19ecb36409447ece2f8102f4225 (diff)
downloadpostgresql-5e28b778bf9a5835e702277119c5f92b4dbab45e.tar.gz
postgresql-5e28b778bf9a5835e702277119c5f92b4dbab45e.zip
Rename typedef in jsonpath_gram.y from "string" to "JsonPathString"
Reason is the same as in 75c57058b0.
Diffstat (limited to 'src/include/utils/jsonpath_scanner.h')
-rw-r--r--src/include/utils/jsonpath_scanner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/jsonpath_scanner.h b/src/include/utils/jsonpath_scanner.h
index bbdd984dab5..1c567717e84 100644
--- a/src/include/utils/jsonpath_scanner.h
+++ b/src/include/utils/jsonpath_scanner.h
@@ -13,13 +13,13 @@
#ifndef JSONPATH_SCANNER_H
#define JSONPATH_SCANNER_H
-/* struct string is shared between scan and gram */
-typedef struct string
+/* struct JsonPathString is shared between scan and gram */
+typedef struct JsonPathString
{
char *val;
int len;
int total;
-} string;
+} JsonPathString;
#include "utils/jsonpath.h"
#include "utils/jsonpath_gram.h"