From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Manav Kumar <mkumar(at)yugabyte(dot)com> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: Doubt in reset date style |
Date: | 2025-04-30 21:31:11 |
Message-ID: | CAKFQuwaUgM4Wjk6=-0-rEXHwctZD4nJrmfJwpzbbLC7oVidwPg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Wed, Apr 30, 2025 at 2:17 PM Manav Kumar <mkumar(at)yugabyte(dot)com> wrote:
> I don't see any Alter cmd which changes the default value of DateStyle as
> well.
>
There are many ways to change GUCs (I'm unsure where exactly this one comes
into play, feel free to look or wait for others to comment). Assume that
the script, when the first thing it does is 'SHOW DateStyle;' when issuing
"reset datestyle", will have its value reset to the shown value. The
calling environment has made it so that is the session default.
The session default is:
SHOW DateStyle;
DateStyle
---------------
Postgres, MDY
(1 row)
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | marcos sicat | 2025-04-30 21:43:43 | Re: Postgres 17.4 is much slower than Postgres 15.12 using RECURSIVE |
Previous Message | Manav Kumar | 2025-04-30 21:17:27 | Doubt in reset date style |