Re: Creating redwood datestyle in Postgres 12

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Tim <timfosho(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Creating redwood datestyle in Postgres 12
Date: 2021-03-25 17:02:03
Message-ID: 77f369d02a34bdd1d1386227f1ec2d74d865aab4.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, 2021-03-25 at 08:38 -0400, Tim wrote:
> Its a native ORACLE date formatting which shows like this: 08-JAN-99 04:05:06 set in the datestyle config param.
>
> Currently running on EDB Advanced Server 12 which allows it as a datestyle configuration setting,
> but looking to migrate off of there to native postgres pretty soon and was hoping there was some
> way to have the same setting globally in native postgres. Which is starting to look like is not possible.

I concur.

You should use "to_char" in your queries or format timestamps in the client application.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Pepe TD Vo 2021-03-25 21:00:08 create and drop tablespace
Previous Message Tim 2021-03-25 12:38:01 Re: Creating redwood datestyle in Postgres 12