Re: Doubt in reset date style - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Doubt in reset date style
Date
Msg-id 1406804.1746050164@sss.pgh.pa.us
Whole thread Raw
In response to Doubt in reset date style  (Manav Kumar <mkumar@yugabyte.com>)
List 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



pgsql-bugs by date:

Previous
From: marcos sicat
Date:
Subject: Re: Postgres 17.4 is much slower than Postgres 15.12 using RECURSIVE
Next
From: David Rowley
Date:
Subject: Re: Postgres 17.4 is much slower than Postgres 15.12 using RECURSIVE