diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2019-03-19 20:56:13 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2019-03-19 21:01:10 +0300 |
commit | 5e28b778bf9a5835e702277119c5f92b4dbab45e (patch) | |
tree | c86dfc2170edfbd513b0f10084203a75f66dec12 /src/include/utils/jsonpath_scanner.h | |
parent | 1009920aaa39e19ecb36409447ece2f8102f4225 (diff) | |
download | postgresql-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.h | 6 |
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" |