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

From Michael Paquier
Subject Re: pgsql: Beautify initialization of JsonValueList andJsonLikeRegexContex
Date
Msg-id 20190318041200.GE1885@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Beautify initialization of JsonValueList and JsonLikeRegexContex  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Responses Re: pgsql: Beautify initialization of JsonValueList and JsonLikeRegexContex
List pgsql-committers
On Sun, Mar 17, 2019 at 03:09:07PM +0300, Alexander Korotkov wrote:
> Anyway, I thought about this as about just beautification.  If it's
> bad idea, let's revert this.

I agree with Peter's point here that having {0} as initial state is
cleaner instead of adding an extra level of abstraction.
--
Michael

Attachment

pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Refactor more code logic to update the control file
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Revert 4178d8b91c