Re: Creating redwood datestyle in Postgres 12 - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: Creating redwood datestyle in Postgres 12
Date
Msg-id 77f369d02a34bdd1d1386227f1ec2d74d865aab4.camel@cybertec.at
Whole thread Raw
In response to Re: Creating redwood datestyle in Postgres 12  (Tim <timfosho@gmail.com>)
List 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




pgsql-admin by date:

Previous
From: Tim
Date:
Subject: Re: Creating redwood datestyle in Postgres 12
Next
From: Pepe TD Vo
Date:
Subject: create and drop tablespace