Re: Document DateStyle effect on jsonpath string() - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Document DateStyle effect on jsonpath string()
Date
Msg-id AB86C3A7-5A35-448A-9B2F-6118372A5A8E@justatheory.com
Whole thread Raw
In response to Re: Document DateStyle effect on jsonpath string()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Document DateStyle effect on jsonpath string()
List pgsql-hackers
On Sep 11, 2024, at 12:26, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Building on that thought, maybe we could fix it as attached?
> This changes the just-committed test cases of course, and I did
> not look at whether there are documentation changes to make.

It looks like that’s what datum_to_json_internal() in json.c does, which IIUC is the default stringification for date
andtime values. 

David




pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Invalid Assert while validating REPLICA IDENTITY?
Next
From: Alvaro Herrera
Date:
Subject: Re: First draft of PG 17 release notes