Re: Creating redwood datestyle in Postgres 12

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Creating redwood datestyle in Postgres 12
Дата
Msg-id 77f369d02a34bdd1d1386227f1ec2d74d865aab4.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Creating redwood datestyle in Postgres 12  (Tim <timfosho@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tim
Дата:
Сообщение: Re: Creating redwood datestyle in Postgres 12
Следующее
От: Pepe TD Vo
Дата:
Сообщение: create and drop tablespace