Beautify initialization of JsonValueList and JsonLikeRegexContext
authorAlexander Korotkov <akorotkov@postgresql.org>
Sun, 17 Mar 2019 09:58:26 +0000 (12:58 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Sun, 17 Mar 2019 09:58:26 +0000 (12:58 +0300)
commit4178d8b91cb943b422d1837b4b7798576d88995a
tree2260c31af6afd770a94db0d9962cd0f334f93a6e
parentaa1b7f386687dec17ffa62d13026580050734632
Beautify initialization of JsonValueList and JsonLikeRegexContext

Instead of tricky assignment to {0} introduce special macros, which
explicitly initialize every field.
src/backend/utils/adt/jsonpath_exec.c