Beautify initialization of JsonValueList and JsonLikeRegexContext

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 4178d8b91cb943b422d1837b4b7798576d88995a
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2019-03-17T09:58:26Z
Releases: 12.0
Beautify initialization of JsonValueList and JsonLikeRegexContext

Instead of tricky assignment to {0} introduce special macros, which
explicitly initialize every field.

Files

PathChange+/−
src/backend/utils/adt/jsonpath_exec.c modified +18 −14