pgsql: Beautify initialization of JsonValueList andJsonLikeRegexContex - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Beautify initialization of JsonValueList andJsonLikeRegexContex
Date
Msg-id E1h5Sa8-0007FZ-Co@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Beautify initialization of JsonValueList andJsonLikeRegexContex
List pgsql-committers
Beautify initialization of JsonValueList and JsonLikeRegexContext

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4178d8b91cb943b422d1837b4b7798576d88995a

Modified Files
--------------
src/backend/utils/adt/jsonpath_exec.c | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Apply const qualifier to keywords of jsonpath_scan.l
Next
From: Peter Eisentraut
Date:
Subject: Re: pgsql: Beautify initialization of JsonValueList andJsonLikeRegexContex