Re: Understanding DateStyle guc in startup packet - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Understanding DateStyle guc in startup packet
Date
Msg-id CADK3HHKC-1iTEZNT4fvjS-mBkLYVmKQVG3Kvq9_KHXnctACUjA@mail.gmail.com
Whole thread Raw
Responses Re: Understanding DateStyle guc in startup packet
List pgsql-jdbc


On Mon, 19 May 2025 at 08:23, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> 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.


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

pgsql-jdbc by date:

Previous
From: Laurenz Albe
Date:
Subject: Fwd: PostgreSQL JDBC 42.7.5 returns an unexpected catalog name
Next
From: Vladimir Sitnikov
Date:
Subject: Re: Understanding DateStyle guc in startup packet