Re: TimestampTz->Text->TimestampTz casting fails with DateStyle 'Postgres'

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Aleksander Alekseev <aleksander(at)timescale(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: TimestampTz->Text->TimestampTz casting fails with DateStyle 'Postgres'
Date: 2024-12-12 06:40:31
Message-ID: 2119430fb8604d819f55d6b65eeebf257e5d90a9.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, 2024-12-11 at 17:40 -0500, Tom Lane wrote:
> So it feels like we'd better do something about this, if we
> don't want to deprecate the Postgres datestyle entirely.

I agree that something should be done, but I'd have no problem
with deprecating the Postgres datestyle. People who depend on
it can switch to using to_date() and to_timestamp(), which
shouldn't impose too much hardship if we give them enough time.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Laurenz Albe 2024-12-12 06:47:24 Re: Problem with constraint unique.
Previous Message Tom Lane 2024-12-11 22:40:38 Re: TimestampTz->Text->TimestampTz casting fails with DateStyle 'Postgres'