Re: Doubt in reset date style

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Manav Kumar <mkumar@yugabyte.com>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2025-04-30T21:56:04Z
Lists: pgsql-bugs
Manav Kumar <mkumar@yugabyte.com> writes:
> I have a doubt in the expected output file:
> src/test/regress/expected/horology.out

> After doing the reset DateStyle.
> Why output is still in 'Postgres, MDY' form rather than 'ISO, MDY'.

Because pg_regress.c does this:

	setenv("PGDATESTYLE", "Postgres, MDY", 1);

which determines the environment for all the psql runs it
launches.

			regards, tom lane



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. doc: Small example improvement