Re: jsonpath: Inconsistency of timestamp_tz() Output

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com>, "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: Junwang Zhao <zhjwpku(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: jsonpath: Inconsistency of timestamp_tz() Output
Date: 2024-07-30 11:59:26
Message-ID: 4bd2a844-e403-44a1-ba56-e5cf049fa9a7@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2024-07-22 Mo 3:12 AM, Jeevan Chalke wrote:
>
>
> On Fri, Jul 19, 2024 at 7:35 PM David E. Wheeler
> <david(at)justatheory(dot)com> wrote:
>
> On Jul 10, 2024, at 11:19, David E. Wheeler
> <david(at)justatheory(dot)com> wrote:
>
> > Oh, and the time and date were wrong, too, because I blindly
> used the same conversion for dates as for timestamps. Fixed in v2.
> >
> > PR: https://github.com/theory/postgres/pull/7
> > CF: https://commitfest.postgresql.org/49/5119/
>
> Rebase on 5784a49. No other changes. I would consider this a bug
> in features added for 17.
>
>
> I agree with David that we need to set the tz explicitly as the
> JsonbValue struct maintains that separately.
>
> However, in the attached version, I have added some comments and also,
> fixed some indentation.
>

I have pushed this.

cheers

andrew

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2024-07-30 12:08:40 Re: Add mention of execution time memory for enable_partitionwise_* GUCs
Previous Message Andrey M. Borodin 2024-07-30 11:31:03 Re: WIP: parallel GiST index builds