Re: changing datestyle

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: changing datestyle
Дата
Msg-id 13190.1245159872@sss.pgh.pa.us
обсуждение исходный текст
Ответ на changing datestyle  ("Karl Nack" <karlnack@futurityinc.com>)
Ответы Re: changing datestyle  (Karl Nack <karlnack@futurityinc.com>)
Список pgsql-novice
"Karl Nack" <karlnack@futurityinc.com> writes:
> This is driving me a little nuts.
> SET datestyle = 'us';
> And yet datestyle continues to come back as 'ISO, MDY'.

That's exactly what it should do.  'US' is a synonym for 'MDY',
and in any case it determines only one of the two components
of DateStyle.

(The fact that there are two components is a historical aberration,
and I'd be the first to agree it's ugly, but that's how it works.)

> What am I missing?

You need to read the manual a bit more closely, perhaps; or at
least explain what your *actual* problem is.

            regards, tom lane

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

Предыдущее
От: Bruce Hyatt
Дата:
Сообщение: Re: Fwd: Yum Update Errors
Следующее
От: Karl Nack
Дата:
Сообщение: Re: changing datestyle