Re: Doubt in reset date style

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Doubt in reset date style
Дата
Msg-id 1406804.1746050164@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Doubt in reset date style  (Manav Kumar <mkumar@yugabyte.com>)
Список 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 по дате отправления: