Re: pgsql: Beautify initialization of JsonValueList and JsonLikeRegexContex - Mailing list pgsql-committers

From Alexander Korotkov
Subject Re: pgsql: Beautify initialization of JsonValueList and JsonLikeRegexContex
Date
Msg-id CAPpHfdtOQ9kqr9yJp+wo+-uNQQZx_D9K6YP2Wxpe+d4FWGwbJA@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Beautify initialization of JsonValueList andJsonLikeRegexContex  (Michael Paquier <michael@paquier.xyz>)
List pgsql-committers
On Mon, Mar 18, 2019 at 7:12 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> 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.

OK!  So, reverted.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Revert 4178d8b91c
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Remove unused macro