Re: set permanent date style

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: set permanent date style
Дата
Msg-id 25685.1024407566@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: set permanent date style  ("Nick Fankhauser" <nickf@ontko.com>)
Ответы Re: set permanent date style  ("Nick Fankhauser" <nickf@ontko.com>)
Список pgsql-admin
"Nick Fankhauser" <nickf@ontko.com> writes:
> in postmaster.conf, add a line that looks something like this:
> PGDATESTYLE=ISO,European

I do not believe that will work in any released version.  It will work
to set PGDATESTYLE as an environment variable in the postmaster's
environment, however.

As of 7.3 it will be possible to set DateStyle in postgresql.conf,
but up through 7.2 DateStyle is specially handled and isn't in the
set of variables that postgresql.conf knows about :-(

For the particular problem at hand, adding -e to the postmaster's
command line switches might have been enough ...

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Michael Ansley (UK)"
Дата:
Сообщение: Re: Uppercase field names not found
Следующее
От: "Nick Fankhauser"
Дата:
Сообщение: Re: set permanent date style