public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andrew Dunstan <[email protected]>
To: Jeevan Chalke <[email protected]>
To: Peter Eisentraut <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: More new SQL/JSON item methods
Date: Tue, 24 Oct 2023 09:11:47 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAM2+6=XTW1COd+56ekjP=CUceZyrgyrcBge_z0ZRkCgVwcGHQg@mail.gmail.com>
References: <CAM2+6=XjTyqrrqHAOj80r0wVQxJSxc0iyib9bPC55uFO9VKatg@mail.gmail.com>
	<[email protected]>
	<CAM2+6=XTW1COd+56ekjP=CUceZyrgyrcBge_z0ZRkCgVwcGHQg@mail.gmail.com>


On 2023-10-19 Th 02:06, Jeevan Chalke wrote:
> Thanks, Peter for the comments.
>
> On Fri, Oct 6, 2023 at 5:13 PM Peter Eisentraut <[email protected]> 
> wrote:
>
>     On 29.08.23 09:05, Jeevan Chalke wrote:
>     > v1-0001-Implement-jsonpath-.bigint-.integer-and-.number-m.patch
>     >
>     > This commit implements jsonpath .bigint(), .integer(), and .number()
>     > methods.  The JSON string or a numeric value is converted to the
>     > bigint, int4, and numeric type representation.
>
>     A comment that applies to all of these: These add various keywords,
>     switch cases, documentation entries in some order.  Are we happy with
>     that?  Should we try to reorder all of that for better
>     maintainability
>     or readability?
>
>
> Yeah, that's the better suggestion. While implementing these methods, 
> I was confused about where to put them exactly and tried keeping them 
> in some logical place.
> I think once these methods get in, we can have a follow-up patch 
> reorganizing all of these.


I think it would be better to organize things how we want them before 
adding in more stuff.


cheers


andrew


--
Andrew Dunstan
EDB:https://www.enterprisedb.com


view thread (11+ messages)  latest in thread

reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: More new SQL/JSON item methods
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox