Fix misspelled struct tag.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 May 2017 19:05:54 +0000 (15:05 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 May 2017 19:05:58 +0000 (15:05 -0400)
This was evidently intended to match the struct's typedef name,
but it didn't quite.  Noted while testing find_typedefs.

src/backend/utils/adt/jsonfuncs.c

index 34de934d87a664c98126146df1b9d5a5aff683f6..ab9a7452340cefe3e6ba31cb428265e0ef54d26e 100644 (file)
@@ -122,7 +122,7 @@ typedef struct ElementsState
 } ElementsState;
 
 /* state for get_json_object_as_hash */
-typedef struct JhashState
+typedef struct JHashState
 {
    JsonLexContext *lex;
    const char *function_name;