diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-02 14:30:08 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-02 14:30:08 -0400 |
commit | f33a71a7865a1dd54f04b370e2637f88665f8db8 (patch) | |
tree | c329f5ed4d203df19ae7622a5dd065f61e032685 /src/include/utils/jsonb.h | |
parent | 682c5bbec5d9533d2d654d6a096c36bbae9f5bd0 (diff) |
De-anonymize the union in JsonbValue.
Needed for strict C89 compliance.
Diffstat (limited to 'src/include/utils/jsonb.h')
-rw-r--r-- | src/include/utils/jsonb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/jsonb.h b/src/include/utils/jsonb.h index a70cbd59400..00a6d4f9e0b 100644 --- a/src/include/utils/jsonb.h +++ b/src/include/utils/jsonb.h @@ -141,7 +141,7 @@ typedef struct /* * JsonbValue: In-memory representation of Jsonb. This is a convenient - * deserialized representation, that can easily support using the anonymous + * deserialized representation, that can easily support using the "val" * union across underlying types during manipulation. The Jsonb on-disk * representation has various alignment considerations. */ @@ -192,7 +192,7 @@ struct JsonbValue int len; char *data; } binary; - }; + } val; }; /* |