pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Aleksander Alekseev <aleksander@timescale.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: TimestampTz->Text->TimestampTz casting fails with DateStyle 'Postgres'
Date: Thu, 12 Dec 2024 07:40:31 +0100
Message-ID: <2119430fb8604d819f55d6b65eeebf257e5d90a9.camel@cybertec.at> (raw)
In-Reply-To: <536069.1733956838@sss.pgh.pa.us>
References: <CAJ7c6TOATjJqvhnYsui0=CO5XFMF4dvTGH+skzB--jNhqSQu5g@mail.gmail.com>
	<3416600.1730987836@sss.pgh.pa.us>
	<CAJ7c6TMzJDLutYt+pcm1Jt+sDSRHjvjezM9o8heEoo_LwgP75A@mail.gmail.com>
	<CAJ7c6TMpBUMLqep4ycxySN+SFsf-eG2v-nUaVSzu2jSd5eDMAA@mail.gmail.com>
	<Z1eKmoJHXVd8_oz1@paquier.xyz>
	<4167039.1733796752@sss.pgh.pa.us>
	<394372.1733884998@sss.pgh.pa.us>
	<521765.1733949428@sss.pgh.pa.us>
	<536069.1733956838@sss.pgh.pa.us>

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





view thread (12+ messages)  latest in thread

Message-ID: <2119430fb8604d819f55d6b65eeebf257e5d90a9.camel@cybertec.at>
Permalink:  ../2119430fb8604d819f55d6b65eeebf257e5d90a9.camel@cybertec.at/
Also on:    postgresql.org/message-id/2119430fb8604d819f55d6b65eeebf257e5d90a9.camel@cybertec.at

 · 

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: pgsql-bugs@postgresql.org
  Cc: laurenz.albe@cybertec.at, tgl@sss.pgh.pa.us, aleksander@timescale.com, michael@paquier.xyz, pgsql-bugs@lists.postgresql.org
  Subject: Re: TimestampTz->Text->TimestampTz casting fails with DateStyle 'Postgres'
  In-Reply-To: <2119430fb8604d819f55d6b65eeebf257e5d90a9.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox