public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dave Cramer <[email protected]>
To: Vladimir Sitnikov <[email protected]>
Cc: Manav Kumar <[email protected]>
Cc: [email protected]
Cc: Laurenz Albe <[email protected]>
Subject: Re: Understanding DateStyle guc in startup packet
Date: Mon, 19 May 2025 11:12:10 -0400
Message-ID: <CADK3HHKC-1iTEZNT4fvjS-mBkLYVmKQVG3Kvq9_KHXnctACUjA@mail.gmail.com> (raw)
In-Reply-To: <CAB=Je-Gznb3j_M--EAn9zW0cHLzgMg_YyWxWGM==g_kRfxEzrA@mail.gmail.com>
References: <CAPhCW+-oyivUiBiP5nOMQNxQzXLnT62SvCZ1oq7rqZkHq34KGA@mail.gmail.com>
<CAB=Je-Gznb3j_M--EAn9zW0cHLzgMg_YyWxWGM==g_kRfxEzrA@mail.gmail.com>
On Mon, 19 May 2025 at 08:23, Vladimir Sitnikov <[email protected]>
wrote:
> Long story short: it might be nice to decouple pgjdbc from requiring
> DateStyle=ISO, however, it does not look like a walk in the park to me.
>
> I guess here's the line that configures DateStyle ISO:
> https://github.com/pgjdbc/pgjdbc/blob/d9e20874590f59543c39a99b824e09344f00a813/pgjdbc/src/main/java/...
>
> It looks like options come after DateStyle.
>
> At the same time, for some reason related to COPY processing, the driver
> asserts DateStyle must start with ISO:
> https://github.com/pgjdbc/pgjdbc/issues/131
>
Why would you want to change it? We keep it a specific way to simplify
parsing it internally. If you want to display it differently than you can
change the output format
> Dave Cramer
> www.postgres.rocks
>
>
view thread (7+ 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], [email protected]
Subject: Re: Understanding DateStyle guc in startup packet
In-Reply-To: <CADK3HHKC-1iTEZNT4fvjS-mBkLYVmKQVG3Kvq9_KHXnctACUjA@mail.gmail.com>
* 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