From: Michael Paquier <michael@paquier.xyz>
To: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Alexander Korotkov <akorotkov@postgresql.org>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Beautify initialization of JsonValueList and JsonLikeRegexContex
Date: Mon, 18 Mar 2019 13:12:00 +0900
Message-ID: <20190318041200.GE1885@paquier.xyz> (raw)
In-Reply-To: <CAPpHfdtmREDU2eAT4gMDjJRJtFEvMU=tOOzWeeCAPMwofEDXJQ@mail.gmail.com>
References: <E1h5Sa8-0007FZ-Co@gemulon.postgresql.org>
<ecfcfb5f-3233-eaa9-0c83-07056fb49a83@2ndquadrant.com>
<CAPpHfdtmREDU2eAT4gMDjJRJtFEvMU=tOOzWeeCAPMwofEDXJQ@mail.gmail.com>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, a.korotkov@postgrespro.ru, peter.eisentraut@2ndquadrant.com, akorotkov@postgresql.org
Subject: Re: pgsql: Beautify initialization of JsonValueList and JsonLikeRegexContex
In-Reply-To: <20190318041200.GE1885@paquier.xyz>
References: <E1h5Sa8-0007FZ-Co@gemulon.postgresql.org> <ecfcfb5f-3233-eaa9-0c83-07056fb49a83@2ndquadrant.com> <CAPpHfdtmREDU2eAT4gMDjJRJtFEvMU=tOOzWeeCAPMwofEDXJQ@mail.gmail.com> <20190318041200.GE1885@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox